Struct: s3.MultipartUpload

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

Overview

Container for the MultipartUpload for the Amazon S3 object.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

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

Date and time at which the multipart upload was initiated.

Initiator *Initiator `type:"structure"`

Identifies who initiated the multipart upload.

Key *string `min:"1" type:"string"`

Key of the object for which the multipart upload was initiated.

Owner *Owner `type:"structure"`

Specifies the owner of the object that is part of the multipart upload.

StorageClass *string `type:"string" enum:"StorageClass"`

The class of storage used to store the object.

UploadId *string `type:"string"`

Upload ID that identifies the multipart upload.

_ struct{} `type:"structure"`

Method Details

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



17815
17816
17817
// File 'service/s3/api.go', line 17815

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

func (s *MultipartUpload) SetInitiated(v time.Time) *MultipartUpload

SetInitiated sets the Initiated field's value.



17820
17821
17822
17823
// File 'service/s3/api.go', line 17820

func (s *MultipartUpload) SetInitiated(v time.Time) *MultipartUpload { s.Initiated = &v return s }

func (s *MultipartUpload) SetInitiator(v *Initiator) *MultipartUpload

SetInitiator sets the Initiator field's value.



17826
17827
17828
17829
// File 'service/s3/api.go', line 17826

func (s *MultipartUpload) SetInitiator(v *Initiator) *MultipartUpload { s.Initiator = v return s }

func (s *MultipartUpload) SetKey(v string) *MultipartUpload

SetKey sets the Key field's value.



17832
17833
17834
17835
// File 'service/s3/api.go', line 17832

func (s *MultipartUpload) SetKey(v string) *MultipartUpload { s.Key = &v return s }

func (s *MultipartUpload) SetOwner(v *Owner) *MultipartUpload

SetOwner sets the Owner field's value.



17838
17839
17840
17841
// File 'service/s3/api.go', line 17838

func (s *MultipartUpload) SetOwner(v *Owner) *MultipartUpload { s.Owner = v return s }

func (s *MultipartUpload) SetStorageClass(v string) *MultipartUpload

SetStorageClass sets the StorageClass field's value.



17844
17845
17846
17847
// File 'service/s3/api.go', line 17844

func (s *MultipartUpload) SetStorageClass(v string) *MultipartUpload { s.StorageClass = &v return s }

func (s *MultipartUpload) SetUploadId(v string) *MultipartUpload

SetUploadId sets the UploadId field's value.



17850
17851
17852
17853
// File 'service/s3/api.go', line 17850

func (s *MultipartUpload) SetUploadId(v string) *MultipartUpload { s.UploadId = &v return s }

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



17806
17807
17808
// File 'service/s3/api.go', line 17806

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