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”.



12494
12495
12496
// File 'service/s3/api.go', line 12494

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

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

SetLocationConstraint sets the LocationConstraint field’s value.



12499
12500
12501
12502
// File 'service/s3/api.go', line 12499

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”.



12485
12486
12487
// File 'service/s3/api.go', line 12485

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