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



9089
9090
9091
// File 'service/s3/api.go', line 9089

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

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

SetLocationConstraint sets the LocationConstraint field's value.



9094
9095
9096
9097
// File 'service/s3/api.go', line 9094

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



9080
9081
9082
// File 'service/s3/api.go', line 9080

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