Struct: s3.CreateBucketConfiguration

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

Overview

The configuration information for the bucket.

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 will be created. If you don’t specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).

_ struct{} `type:"structure"`

Method Details

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



9240
9241
9242
// File 'service/s3/api.go', line 9240

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

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

SetLocationConstraint sets the LocationConstraint field’s value.



9245
9246
9247
9248
// File 'service/s3/api.go', line 9245

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

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



9231
9232
9233
// File 'service/s3/api.go', line 9231

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