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



17985
17986
17987
// File 'service/s3/api.go', line 17985

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

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

SetInitiated sets the Initiated field's value.



17990
17991
17992
17993
// File 'service/s3/api.go', line 17990

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.



17996
17997
17998
17999
// File 'service/s3/api.go', line 17996

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.



18002
18003
18004
18005
// File 'service/s3/api.go', line 18002

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.



18008
18009
18010
18011
// File 'service/s3/api.go', line 18008

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.



18014
18015
18016
18017
// File 'service/s3/api.go', line 18014

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.



18020
18021
18022
18023
// File 'service/s3/api.go', line 18020

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



17976
17977
17978
// File 'service/s3/api.go', line 17976

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