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”.



9009
9010
9011
// File 'service/s3/api.go', line 9009

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

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

SetETag sets the ETag field's value.



9014
9015
9016
9017
// File 'service/s3/api.go', line 9014

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.



9020
9021
9022
9023
// File 'service/s3/api.go', line 9020

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”.



9000
9001
9002
// File 'service/s3/api.go', line 9000

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