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



23498
23499
23500
// File 'service/s3/api.go', line 23498

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

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

SetETag sets the ETag field’s value.



23503
23504
23505
23506
// File 'service/s3/api.go', line 23503

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.



23509
23510
23511
23512
// File 'service/s3/api.go', line 23509

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.



23533
23534
23535
23536
// File 'service/s3/api.go', line 23533

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.



23515
23516
23517
23518
// File 'service/s3/api.go', line 23515

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.



23521
23522
23523
23524
// File 'service/s3/api.go', line 23521

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.



23527
23528
23529
23530
// File 'service/s3/api.go', line 23527

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



23489
23490
23491
// File 'service/s3/api.go', line 23489

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