Struct: s3.ListReplicationFailureResult

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

Contents []*ObjectSyncAttempted `locationNameList:"Contents" type:"list" flattened:"true" required:"true"`

Contents is a required field

ContinuationToken *string `type:"string"`

EncodingType *string `type:"string" enum:"EncodingType"`

Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key can contain any Unicode character; however, the XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.

FirstSyncAttemptedBefore *string `type:"string"`

IsTruncated *bool `type:"boolean" required:"true"`

IsTruncated is a required field

KeyCount *int64 `type:"integer" required:"true"`

KeyCount is a required field

MaxKeys *int64 `type:"integer"`

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

Name is a required field

NextContinuationToken *string `type:"string"`

_ struct{} `type:"structure"`

Method Details

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



18177
18178
18179
// File 'service/s3/api.go', line 18177

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

func (s *ListReplicationFailureResult) SetContents(v []*ObjectSyncAttempted) *ListReplicationFailureResult

SetContents sets the Contents field’s value.



18182
18183
18184
18185
// File 'service/s3/api.go', line 18182

func (s *ListReplicationFailureResult) SetContinuationToken(v string) *ListReplicationFailureResult

SetContinuationToken sets the ContinuationToken field’s value.



18188
18189
18190
18191
// File 'service/s3/api.go', line 18188

func (s *ListReplicationFailureResult) SetContinuationToken(v string) *ListReplicationFailureResult { s.ContinuationToken = &v return s }

func (s *ListReplicationFailureResult) SetEncodingType(v string) *ListReplicationFailureResult

SetEncodingType sets the EncodingType field’s value.



18194
18195
18196
18197
// File 'service/s3/api.go', line 18194

func (s *ListReplicationFailureResult) SetEncodingType(v string) *ListReplicationFailureResult { s.EncodingType = &v return s }

func (s *ListReplicationFailureResult) SetFirstSyncAttemptedBefore(v string) *ListReplicationFailureResult

SetFirstSyncAttemptedBefore sets the FirstSyncAttemptedBefore field’s value.



18200
18201
18202
18203
// File 'service/s3/api.go', line 18200

func (s *ListReplicationFailureResult) SetFirstSyncAttemptedBefore(v string) *ListReplicationFailureResult { s.FirstSyncAttemptedBefore = &v return s }

func (s *ListReplicationFailureResult) SetIsTruncated(v bool) *ListReplicationFailureResult

SetIsTruncated sets the IsTruncated field’s value.



18206
18207
18208
18209
// File 'service/s3/api.go', line 18206

func (s *ListReplicationFailureResult) SetIsTruncated(v bool) *ListReplicationFailureResult { s.IsTruncated = &v return s }

func (s *ListReplicationFailureResult) SetKeyCount(v int64) *ListReplicationFailureResult

SetKeyCount sets the KeyCount field’s value.



18212
18213
18214
18215
// File 'service/s3/api.go', line 18212

func (s *ListReplicationFailureResult) SetKeyCount(v int64) *ListReplicationFailureResult { s.KeyCount = &v return s }

func (s *ListReplicationFailureResult) SetMaxKeys(v int64) *ListReplicationFailureResult

SetMaxKeys sets the MaxKeys field’s value.



18218
18219
18220
18221
// File 'service/s3/api.go', line 18218

func (s *ListReplicationFailureResult) SetMaxKeys(v int64) *ListReplicationFailureResult { s.MaxKeys = &v return s }

func (s *ListReplicationFailureResult) SetName(v string) *ListReplicationFailureResult

SetName sets the Name field’s value.



18224
18225
18226
18227
// File 'service/s3/api.go', line 18224

func (s *ListReplicationFailureResult) SetName(v string) *ListReplicationFailureResult { s.Name = &v return s }

func (s *ListReplicationFailureResult) SetNextContinuationToken(v string) *ListReplicationFailureResult

SetNextContinuationToken sets the NextContinuationToken field’s value.



18230
18231
18232
18233
// File 'service/s3/api.go', line 18230

func (s *ListReplicationFailureResult) SetNextContinuationToken(v string) *ListReplicationFailureResult { s.NextContinuationToken = &v return s }

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



18168
18169
18170
// File 'service/s3/api.go', line 18168

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