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



15599
15600
15601
// File 'service/s3/api.go', line 15599

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

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

SetDate sets the Date field’s value.



15604
15605
15606
15607
// File 'service/s3/api.go', line 15604

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.



15610
15611
15612
15613
// File 'service/s3/api.go', line 15610

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



15590
15591
15592
// File 'service/s3/api.go', line 15590

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