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”.
7439 7440 7441 |
// File 'service/s3/api.go', line 7439
|
func (s *Bucket) SetCreationDate(v time.Time) *Bucket
SetCreationDate sets the CreationDate field's value.
7444 7445 7446 7447 |
// File 'service/s3/api.go', line 7444
|
func (s *Bucket) SetName(v string) *Bucket
SetName sets the Name field's value.
7450 7451 7452 7453 |
// File 'service/s3/api.go', line 7450
|
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”.
7430 7431 7432 |
// File 'service/s3/api.go', line 7430
|