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”.
12996 12997 12998 |
// File 'service/s3/api.go', line 12996
|
func (s *GetBucketWebsiteOutput) SetErrorDocument(v *ErrorDocument) *GetBucketWebsiteOutput
SetErrorDocument sets the ErrorDocument field’s value.
13001 13002 13003 13004 |
// File 'service/s3/api.go', line 13001
|
func (s *GetBucketWebsiteOutput) SetIndexDocument(v *IndexDocument) *GetBucketWebsiteOutput
SetIndexDocument sets the IndexDocument field’s value.
13007 13008 13009 13010 |
// File 'service/s3/api.go', line 13007
|
func (s *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *GetBucketWebsiteOutput
SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field’s value.
13013 13014 13015 13016 |
// File 'service/s3/api.go', line 13013
|
func (s *GetBucketWebsiteOutput) SetRoutingRules(v []*RoutingRule) *GetBucketWebsiteOutput
SetRoutingRules sets the RoutingRules field’s value.
13019 13020 13021 13022 |
// File 'service/s3/api.go', line 13019
|
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”.
12987 12988 12989 |
// File 'service/s3/api.go', line 12987
|