Struct: s3.ListBucketReplicationFailuresInput

import "../ibm-cos-sdk-go/service/s3"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

Bucket is a required field

ContinuationToken *string `location:"querystring" locationName:"continuation-token" type:"string"`

EncodingType *string `location:"querystring" locationName:"encoding-type" 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 `location:"querystring" locationName:"first-sync-attempted-before" type:"string"`

MaxKeys *int64 `location:"querystring" locationName:"max-keys" type:"integer"`

_ struct{} `locationName:"ListBucketReplicationFailuresRequest" type:"structure"`

Method Details

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



16094
16095
16096
// File 'service/s3/api.go', line 16094

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

func (s *ListBucketReplicationFailuresInput) SetBucket(v string) *ListBucketReplicationFailuresInput

SetBucket sets the Bucket field’s value.



16115
16116
16117
16118
// File 'service/s3/api.go', line 16115

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

SetContinuationToken sets the ContinuationToken field’s value.



16128
16129
16130
16131
// File 'service/s3/api.go', line 16128

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

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

SetEncodingType sets the EncodingType field’s value.



16134
16135
16136
16137
// File 'service/s3/api.go', line 16134

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

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

SetFirstSyncAttemptedBefore sets the FirstSyncAttemptedBefore field’s value.



16140
16141
16142
16143
// File 'service/s3/api.go', line 16140

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

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

SetMaxKeys sets the MaxKeys field’s value.



16146
16147
16148
16149
// File 'service/s3/api.go', line 16146

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



16085
16086
16087
// File 'service/s3/api.go', line 16085

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

func (s *ListBucketReplicationFailuresInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.



16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
// File 'service/s3/api.go', line 16099

func (s *ListBucketReplicationFailuresInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListBucketReplicationFailuresInput"} if s.Bucket == nil { invalidParams.Add(request.NewErrParamRequired("Bucket")) } if s.Bucket != nil && len(*s.Bucket) < 1 { invalidParams.Add(request.NewErrParamMinLen("Bucket", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil }