Struct: s3.CopyObjectResult

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"`

Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata. The source and destination ETag is identical for a successfully copied non-multipart object.

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

Creation date of the object.

_ struct{} `type:"structure"`

Method Details

func (s CopyObjectResult) 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”.



9160
9161
9162
// File 'service/s3/api.go', line 9160

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

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

SetETag sets the ETag field’s value.



9165
9166
9167
9168
// File 'service/s3/api.go', line 9165

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

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

SetLastModified sets the LastModified field’s value.



9171
9172
9173
9174
// File 'service/s3/api.go', line 9171

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

func (s CopyObjectResult) 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”.



9151
9152
9153
// File 'service/s3/api.go', line 9151

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