Struct: s3.ListBucketsOutput

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

Buckets []*Bucket `locationNameList:"Bucket" type:"list"`

The list of buckets owned by the requestor.

Owner *Owner `type:"structure"`

The owner of the buckets listed.

_ struct{} `type:"structure"`

Method Details

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



16374
16375
16376
// File 'service/s3/api.go', line 16374

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

func (s *ListBucketsOutput) SetBuckets(v []*Bucket) *ListBucketsOutput

SetBuckets sets the Buckets field’s value.



16379
16380
16381
16382
// File 'service/s3/api.go', line 16379

func (s *ListBucketsOutput) SetBuckets(v []*Bucket) *ListBucketsOutput { s.Buckets = v return s }

func (s *ListBucketsOutput) SetOwner(v *Owner) *ListBucketsOutput

SetOwner sets the Owner field’s value.



16385
16386
16387
16388
// File 'service/s3/api.go', line 16385

func (s *ListBucketsOutput) SetOwner(v *Owner) *ListBucketsOutput { s.Owner = v return s }

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



16365
16366
16367
// File 'service/s3/api.go', line 16365

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