Struct: s3.LegalHold

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

Date *time.Time `type:"timestamp" timestampFormat:"iso8601"`

ID *string `type:"string"`

_ struct{} `type:"structure"`

Method Details

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



15448
15449
15450
// File 'service/s3/api.go', line 15448

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

func (s *LegalHold) SetDate(v time.Time) *LegalHold

SetDate sets the Date field's value.



15453
15454
15455
15456
// File 'service/s3/api.go', line 15453

func (s *LegalHold) SetDate(v time.Time) *LegalHold { s.Date = &v return s }

func (s *LegalHold) SetID(v string) *LegalHold

SetID sets the ID field's value.



15459
15460
15461
15462
// File 'service/s3/api.go', line 15459

func (s *LegalHold) SetID(v string) *LegalHold { s.ID = &v return s }

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



15439
15440
15441
// File 'service/s3/api.go', line 15439

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