Struct: s3.PutBucketReplicationReattemptInput

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

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

Method Details

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



19962
19963
19964
// File 'service/s3/api.go', line 19962

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

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

SetBucket sets the Bucket field’s value.



19983
19984
19985
19986
// File 'service/s3/api.go', line 19983

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



19953
19954
19955
// File 'service/s3/api.go', line 19953

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

func (s *PutBucketReplicationReattemptInput) Validate() error

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



19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
// File 'service/s3/api.go', line 19967

func (s *PutBucketReplicationReattemptInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "PutBucketReplicationReattemptInput"} 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 }