Struct: s3.PutBucketWebsiteInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The bucket name.
-
ExpectedBucketOwner *string
Ignored by COS.
-
WebsiteConfiguration *WebsiteConfiguration
Container for the request.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *PutBucketWebsiteInput
operation
SetBucket sets the Bucket field's value.
-
SetExpectedBucketOwner(string) *PutBucketWebsiteInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
-
SetWebsiteConfiguration(*WebsiteConfiguration) *PutBucketWebsiteInput
operation
SetWebsiteConfiguration sets the WebsiteConfiguration field's value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Bucket *string
`location:"uri" locationName:"Bucket" type:"string" required:"true"`
The bucket name.
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
WebsiteConfiguration *WebsiteConfiguration
`locationName:"WebsiteConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
Container for the request.
WebsiteConfiguration is a required field
_ struct{}
`locationName:"PutBucketWebsiteRequest" type:"structure" payload:"WebsiteConfiguration"`
Method Details
func (s PutBucketWebsiteInput) 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”.
19631 19632 19633 |
// File 'service/s3/api.go', line 19631
|
func (s *PutBucketWebsiteInput) SetBucket(v string) *PutBucketWebsiteInput
SetBucket sets the Bucket field's value.
19660 19661 19662 19663 |
// File 'service/s3/api.go', line 19660
|
func (s *PutBucketWebsiteInput) SetExpectedBucketOwner(v string) *PutBucketWebsiteInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
19673 19674 19675 19676 |
// File 'service/s3/api.go', line 19673
|
func (s *PutBucketWebsiteInput) SetWebsiteConfiguration(v *WebsiteConfiguration) *PutBucketWebsiteInput
SetWebsiteConfiguration sets the WebsiteConfiguration field's value.
19679 19680 19681 19682 |
// File 'service/s3/api.go', line 19679
|
func (s PutBucketWebsiteInput) 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”.
19622 19623 19624 |
// File 'service/s3/api.go', line 19622
|
func (s *PutBucketWebsiteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 |
// File 'service/s3/api.go', line 19636
|