Struct: s3.PutObjectLegalHoldOutput

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



20302
20303
20304
// File 'service/s3/api.go', line 20302

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

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

SetRequestCharged sets the RequestCharged field's value.



20307
20308
20309
20310
// File 'service/s3/api.go', line 20307

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

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



20293
20294
20295
// File 'service/s3/api.go', line 20293

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