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



9201
9202
9203
// File 'service/s3/api.go', line 9201

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

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

SetETag sets the ETag field’s value.



9206
9207
9208
9209
// File 'service/s3/api.go', line 9206

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.



9212
9213
9214
9215
// File 'service/s3/api.go', line 9212

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



9192
9193
9194
// File 'service/s3/api.go', line 9192

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