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



15931
15932
15933
// File 'service/s3/api.go', line 15931

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

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

SetBuckets sets the Buckets field's value.



15936
15937
15938
15939
// File 'service/s3/api.go', line 15936

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.



15942
15943
15944
15945
// File 'service/s3/api.go', line 15942

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



15922
15923
15924
// File 'service/s3/api.go', line 15922

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