Struct: s3.ObjectSyncAttempted

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

FirstSyncAttempted *time.Time `type:"timestamp" required:"true"`

FirstSyncAttempted is a required field

Key *string `min:"1" type:"string" required:"true"`

Key is a required field

LastSyncAttempted *time.Time `type:"timestamp" required:"true"`

LastSyncAttempted is a required field

SyncFailureCause *string `type:"string"`

SyncType *string `type:"string" required:"true"`

SyncType is a required field

VersionId *string `type:"string" required:"true"`

VersionId is a required field

_ struct{} `type:"structure"`

Method Details

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



18853
18854
18855
// File 'service/s3/api.go', line 18853

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

func (s *ObjectSyncAttempted) SetFirstSyncAttempted(v time.Time) *ObjectSyncAttempted

SetFirstSyncAttempted sets the FirstSyncAttempted field’s value.



18858
18859
18860
18861
// File 'service/s3/api.go', line 18858

func (s *ObjectSyncAttempted) SetFirstSyncAttempted(v time.Time) *ObjectSyncAttempted { s.FirstSyncAttempted = &v return s }

func (s *ObjectSyncAttempted) SetKey(v string) *ObjectSyncAttempted

SetKey sets the Key field’s value.



18864
18865
18866
18867
// File 'service/s3/api.go', line 18864

func (s *ObjectSyncAttempted) SetKey(v string) *ObjectSyncAttempted { s.Key = &v return s }

func (s *ObjectSyncAttempted) SetLastSyncAttempted(v time.Time) *ObjectSyncAttempted

SetLastSyncAttempted sets the LastSyncAttempted field’s value.



18870
18871
18872
18873
// File 'service/s3/api.go', line 18870

func (s *ObjectSyncAttempted) SetLastSyncAttempted(v time.Time) *ObjectSyncAttempted { s.LastSyncAttempted = &v return s }

func (s *ObjectSyncAttempted) SetSyncFailureCause(v string) *ObjectSyncAttempted

SetSyncFailureCause sets the SyncFailureCause field’s value.



18876
18877
18878
18879
// File 'service/s3/api.go', line 18876

func (s *ObjectSyncAttempted) SetSyncFailureCause(v string) *ObjectSyncAttempted { s.SyncFailureCause = &v return s }

func (s *ObjectSyncAttempted) SetSyncType(v string) *ObjectSyncAttempted

SetSyncType sets the SyncType field’s value.



18882
18883
18884
18885
// File 'service/s3/api.go', line 18882

func (s *ObjectSyncAttempted) SetSyncType(v string) *ObjectSyncAttempted { s.SyncType = &v return s }

func (s *ObjectSyncAttempted) SetVersionId(v string) *ObjectSyncAttempted

SetVersionId sets the VersionId field’s value.



18888
18889
18890
18891
// File 'service/s3/api.go', line 18888

func (s *ObjectSyncAttempted) SetVersionId(v string) *ObjectSyncAttempted { s.VersionId = &v return s }

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



18844
18845
18846
// File 'service/s3/api.go', line 18844

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