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



22660
22661
22662
// File 'service/s3/api.go', line 22660

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

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

SetCopyPartResult sets the CopyPartResult field's value.



22665
22666
22667
22668
// File 'service/s3/api.go', line 22665

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.



22671
22672
22673
22674
// File 'service/s3/api.go', line 22671

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.



22677
22678
22679
22680
// File 'service/s3/api.go', line 22677

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.



22701
22702
22703
22704
// File 'service/s3/api.go', line 22701

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.



22683
22684
22685
22686
// File 'service/s3/api.go', line 22683

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.



22689
22690
22691
22692
// File 'service/s3/api.go', line 22689

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.



22695
22696
22697
22698
// File 'service/s3/api.go', line 22695

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



22651
22652
22653
// File 'service/s3/api.go', line 22651

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