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



7634
7635
7636
// File 'service/s3/api.go', line 7634

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

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

SetCreationDate sets the CreationDate field’s value.



7639
7640
7641
7642
// File 'service/s3/api.go', line 7639

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.



7645
7646
7647
7648
// File 'service/s3/api.go', line 7645

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.



7651
7652
7653
7654
// File 'service/s3/api.go', line 7651

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.



7657
7658
7659
7660
// File 'service/s3/api.go', line 7657

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



7625
7626
7627
// File 'service/s3/api.go', line 7625

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