Struct: s3.CopyPartResult

import "../ibm-cos-sdk-go/service/s3"

Overview

Container for all response elements.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

ETag *string `type:"string"`

Entity tag of the object.

LastModified *time.Time `type:"timestamp"`

Date and time at which the object was uploaded.

_ struct{} `type:"structure"`

Method Details

func (s CopyPartResult) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



9050
9051
9052
// File 'service/s3/api.go', line 9050

func (s CopyPartResult) GoString() string { return s.String() }

func (s *CopyPartResult) SetETag(v string) *CopyPartResult

SetETag sets the ETag field's value.



9055
9056
9057
9058
// File 'service/s3/api.go', line 9055

func (s *CopyPartResult) SetETag(v string) *CopyPartResult { s.ETag = &v return s }

func (s *CopyPartResult) SetLastModified(v time.Time) *CopyPartResult

SetLastModified sets the LastModified field's value.



9061
9062
9063
9064
// File 'service/s3/api.go', line 9061

func (s *CopyPartResult) SetLastModified(v time.Time) *CopyPartResult { s.LastModified = &v return s }

func (s CopyPartResult) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



9041
9042
9043
// File 'service/s3/api.go', line 9041

func (s CopyPartResult) String() string { return awsutil.Prettify(s) }