Struct: s3.BucketExtended

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

CreationDate *time.Time `type:"timestamp"`

CreationTemplateId *string `type:"string"`

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

Specifies the region where the bucket was created.

Name *string `type:"string"`

The name of the bucket.

_ struct{} `type:"structure"`

Method Details

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



7483
7484
7485
// File 'service/s3/api.go', line 7483

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

func (s *BucketExtended) SetCreationDate(v time.Time) *BucketExtended

SetCreationDate sets the CreationDate field's value.



7488
7489
7490
7491
// File 'service/s3/api.go', line 7488

func (s *BucketExtended) SetCreationDate(v time.Time) *BucketExtended { s.CreationDate = &v return s }

func (s *BucketExtended) SetCreationTemplateId(v string) *BucketExtended

SetCreationTemplateId sets the CreationTemplateId field's value.



7494
7495
7496
7497
// File 'service/s3/api.go', line 7494

func (s *BucketExtended) SetCreationTemplateId(v string) *BucketExtended { s.CreationTemplateId = &v return s }

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

SetLocationConstraint sets the LocationConstraint field's value.



7500
7501
7502
7503
// File 'service/s3/api.go', line 7500

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

func (s *BucketExtended) SetName(v string) *BucketExtended

SetName sets the Name field's value.



7506
7507
7508
7509
// File 'service/s3/api.go', line 7506

func (s *BucketExtended) SetName(v string) *BucketExtended { s.Name = &v return s }

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



7474
7475
7476
// File 'service/s3/api.go', line 7474

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