Struct: s3.GetBucketWebsiteOutput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
ErrorDocument *ErrorDocument
The object key name of the website error document to use for 4XX class errors.
-
IndexDocument *IndexDocument
The name of the index document for the website (for example index.html).
-
RedirectAllRequestsTo *RedirectAllRequestsTo
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
-
RoutingRules []*RoutingRule
Rules that define when a redirect is applied and the redirect behavior.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetErrorDocument(*ErrorDocument) *GetBucketWebsiteOutput
operation
SetErrorDocument sets the ErrorDocument field's value.
-
SetIndexDocument(*IndexDocument) *GetBucketWebsiteOutput
operation
SetIndexDocument sets the IndexDocument field's value.
-
SetRedirectAllRequestsTo(*RedirectAllRequestsTo) *GetBucketWebsiteOutput
operation
SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.
-
SetRoutingRules([]*RoutingRule) *GetBucketWebsiteOutput
operation
SetRoutingRules sets the RoutingRules field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
ErrorDocument *ErrorDocument
`type:"structure"`
The object key name of the website error document to use for 4XX class errors.
IndexDocument *IndexDocument
`type:"structure"`
The name of the index document for the website (for example index.html).
RedirectAllRequestsTo *RedirectAllRequestsTo
`type:"structure"`
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
RoutingRules []*RoutingRule
`locationNameList:"RoutingRule" type:"list"`
Rules that define when a redirect is applied and the redirect behavior.
_ struct{}
`type:"structure"`
Method Details
func (s GetBucketWebsiteOutput) 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”.
12845 12846 12847 |
// File 'service/s3/api.go', line 12845
|
func (s *GetBucketWebsiteOutput) SetErrorDocument(v *ErrorDocument) *GetBucketWebsiteOutput
SetErrorDocument sets the ErrorDocument field's value.
12850 12851 12852 12853 |
// File 'service/s3/api.go', line 12850
|
func (s *GetBucketWebsiteOutput) SetIndexDocument(v *IndexDocument) *GetBucketWebsiteOutput
SetIndexDocument sets the IndexDocument field's value.
12856 12857 12858 12859 |
// File 'service/s3/api.go', line 12856
|
func (s *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *GetBucketWebsiteOutput
SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.
12862 12863 12864 12865 |
// File 'service/s3/api.go', line 12862
|
func (s *GetBucketWebsiteOutput) SetRoutingRules(v []*RoutingRule) *GetBucketWebsiteOutput
SetRoutingRules sets the RoutingRules field's value.
12868 12869 12870 12871 |
// File 'service/s3/api.go', line 12868
|
func (s GetBucketWebsiteOutput) 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”.
12836 12837 12838 |
// File 'service/s3/api.go', line 12836
|