Struct: s3.Bucket
Overview
In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name is globally unique, and the namespace is shared by all AWS accounts.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
CreationDate *time.Time
Date the bucket was created.
-
Name *string
The name of the bucket.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetCreationDate(time.Time) *Bucket
operation
SetCreationDate sets the CreationDate field’s value.
-
SetName(string) *Bucket
operation
SetName sets the Name field’s value.
-
String() string
operation
String returns the string representation.
Structure Field Details
CreationDate *time.Time
`type:"timestamp"`
Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
Name *string
`type:"string"`
The name of the bucket.
_ struct{}
`type:"structure"`
Method Details
func (s Bucket) 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”.
7590 7591 7592 |
// File 'service/s3/api.go', line 7590
|
func (s *Bucket) SetCreationDate(v time.Time) *Bucket
SetCreationDate sets the CreationDate field’s value.
7595 7596 7597 7598 |
// File 'service/s3/api.go', line 7595
|
func (s *Bucket) SetName(v string) *Bucket
SetName sets the Name field’s value.
7601 7602 7603 7604 |
// File 'service/s3/api.go', line 7601
|
func (s Bucket) 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”.
7581 7582 7583 |
// File 'service/s3/api.go', line 7581
|