Struct: s3.UploadPartCopyOutput

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

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

CopyPartResult *CopyPartResult `type:"structure"`

Container for all response elements.

CopySourceVersionId *string `location:"header" locationName:"x-amz-copy-source-version-id" type:"string"`

The version of the source object that was copied, if you have enabled versioning on the source bucket.

RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

If present, indicates that the requester was successfully charged for the request.

SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.

SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string" sensitive:"true"`

If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.

SSEKMSKeyId is a sensitive parameter and its value will be replaced with “sensitive” in string returned by UploadPartCopyOutput’s String and GoString methods.

ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).

_ struct{} `type:"structure" payload:"CopyPartResult"`

Method Details

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



23188
23189
23190
// File 'service/s3/api.go', line 23188

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

func (s *UploadPartCopyOutput) SetCopyPartResult(v *CopyPartResult) *UploadPartCopyOutput

SetCopyPartResult sets the CopyPartResult field’s value.



23193
23194
23195
23196
// File 'service/s3/api.go', line 23193

func (s *UploadPartCopyOutput) SetCopyPartResult(v *CopyPartResult) *UploadPartCopyOutput { s.CopyPartResult = v return s }

func (s *UploadPartCopyOutput) SetCopySourceVersionId(v string) *UploadPartCopyOutput

SetCopySourceVersionId sets the CopySourceVersionId field’s value.



23199
23200
23201
23202
// File 'service/s3/api.go', line 23199

func (s *UploadPartCopyOutput) SetCopySourceVersionId(v string) *UploadPartCopyOutput { s.CopySourceVersionId = &v return s }

func (s *UploadPartCopyOutput) SetRequestCharged(v string) *UploadPartCopyOutput

SetRequestCharged sets the RequestCharged field’s value.



23205
23206
23207
23208
// File 'service/s3/api.go', line 23205

func (s *UploadPartCopyOutput) SetRequestCharged(v string) *UploadPartCopyOutput { s.RequestCharged = &v return s }

func (s *UploadPartCopyOutput) SetServerSideEncryption(v string) *UploadPartCopyOutput

SetServerSideEncryption sets the ServerSideEncryption field’s value.



23229
23230
23231
23232
// File 'service/s3/api.go', line 23229

func (s *UploadPartCopyOutput) SetServerSideEncryption(v string) *UploadPartCopyOutput { s.ServerSideEncryption = &v return s }

func (s *UploadPartCopyOutput) SetSSECustomerAlgorithm(v string) *UploadPartCopyOutput

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field’s value.



23211
23212
23213
23214
// File 'service/s3/api.go', line 23211

func (s *UploadPartCopyOutput) SetSSECustomerAlgorithm(v string) *UploadPartCopyOutput { s.SSECustomerAlgorithm = &v return s }

func (s *UploadPartCopyOutput) SetSSECustomerKeyMD5(v string) *UploadPartCopyOutput

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field’s value.



23217
23218
23219
23220
// File 'service/s3/api.go', line 23217

func (s *UploadPartCopyOutput) SetSSECustomerKeyMD5(v string) *UploadPartCopyOutput { s.SSECustomerKeyMD5 = &v return s }

func (s *UploadPartCopyOutput) SetSSEKMSKeyId(v string) *UploadPartCopyOutput

SetSSEKMSKeyId sets the SSEKMSKeyId field’s value.



23223
23224
23225
23226
// File 'service/s3/api.go', line 23223

func (s *UploadPartCopyOutput) SetSSEKMSKeyId(v string) *UploadPartCopyOutput { s.SSEKMSKeyId = &v return s }

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



23179
23180
23181
// File 'service/s3/api.go', line 23179

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