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



18362
18363
18364
// File 'service/s3/api.go', line 18362

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

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

SetInitiated sets the Initiated field’s value.



18367
18368
18369
18370
// File 'service/s3/api.go', line 18367

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.



18373
18374
18375
18376
// File 'service/s3/api.go', line 18373

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.



18379
18380
18381
18382
// File 'service/s3/api.go', line 18379

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.



18385
18386
18387
18388
// File 'service/s3/api.go', line 18385

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.



18391
18392
18393
18394
// File 'service/s3/api.go', line 18391

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.



18397
18398
18399
18400
// File 'service/s3/api.go', line 18397

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



18353
18354
18355
// File 'service/s3/api.go', line 18353

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