Struct: s3.UploadPartOutput

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

ETag *string `location:"header" locationName:"ETag" type:"string"`

Entity tag for the uploaded object.

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 was used for the object.

SSEKMSKeyId is a sensitive parameter and its value will be replaced with “sensitive” in string returned by UploadPartOutput'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"`

Method Details

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



22733
22734
22735
// File 'service/s3/api.go', line 22733

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

func (s *UploadPartOutput) SetETag(v string) *UploadPartOutput

SetETag sets the ETag field's value.



22738
22739
22740
22741
// File 'service/s3/api.go', line 22738

func (s *UploadPartOutput) SetETag(v string) *UploadPartOutput { s.ETag = &v return s }

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

SetRequestCharged sets the RequestCharged field's value.



22744
22745
22746
22747
// File 'service/s3/api.go', line 22744

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

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

SetServerSideEncryption sets the ServerSideEncryption field's value.



22768
22769
22770
22771
// File 'service/s3/api.go', line 22768

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

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

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.



22750
22751
22752
22753
// File 'service/s3/api.go', line 22750

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

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

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.



22756
22757
22758
22759
// File 'service/s3/api.go', line 22756

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

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

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.



22762
22763
22764
22765
// File 'service/s3/api.go', line 22762

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

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



22724
22725
22726
// File 'service/s3/api.go', line 22724

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