Struct: s3.PutObjectRetentionOutput

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

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.

_ struct{} `type:"structure"`

Method Details

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



20696
20697
20698
// File 'service/s3/api.go', line 20696

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

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

SetRequestCharged sets the RequestCharged field's value.



20701
20702
20703
20704
// File 'service/s3/api.go', line 20701

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

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



20687
20688
20689
// File 'service/s3/api.go', line 20687

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