Struct: s3.GetBucketLocationOutput

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

LocationConstraint *string `type:"string" enum:"BucketLocationConstraint"`

Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints (docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). Buckets in Region us-east-1 have a LocationConstraint of null.

_ struct{} `type:"structure"`

Method Details

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



12343
12344
12345
// File 'service/s3/api.go', line 12343

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

func (s *GetBucketLocationOutput) SetLocationConstraint(v string) *GetBucketLocationOutput

SetLocationConstraint sets the LocationConstraint field's value.



12348
12349
12350
12351
// File 'service/s3/api.go', line 12348

func (s *GetBucketLocationOutput) SetLocationConstraint(v string) *GetBucketLocationOutput { s.LocationConstraint = &v return s }

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



12334
12335
12336
// File 'service/s3/api.go', line 12334

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