Struct: s3.WebsiteConfiguration
Overview
Specifies website configuration parameters for an Amazon S3 bucket.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
ErrorDocument *ErrorDocument
The name of the error document for the website.
-
IndexDocument *IndexDocument
The name of the index document for the website.
-
RedirectAllRequestsTo *RedirectAllRequestsTo
The redirect behavior for every request to this bucket's website endpoint.
-
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) *WebsiteConfiguration
operation
SetErrorDocument sets the ErrorDocument field's value.
-
SetIndexDocument(*IndexDocument) *WebsiteConfiguration
operation
SetIndexDocument sets the IndexDocument field's value.
-
SetRedirectAllRequestsTo(*RedirectAllRequestsTo) *WebsiteConfiguration
operation
SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.
-
SetRoutingRules([]*RoutingRule) *WebsiteConfiguration
operation
SetRoutingRules sets the RoutingRules 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
ErrorDocument *ErrorDocument
`type:"structure"`
The name of the error document for the website.
IndexDocument *IndexDocument
`type:"structure"`
The name of the index document for the website.
RedirectAllRequestsTo *RedirectAllRequestsTo
`type:"structure"`
The redirect behavior for every request to this bucket's website endpoint.
If you specify this property, you can't specify any other property.
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 WebsiteConfiguration) 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”.
22851 22852 22853 |
// File 'service/s3/api.go', line 22851
|
func (s *WebsiteConfiguration) SetErrorDocument(v *ErrorDocument) *WebsiteConfiguration
SetErrorDocument sets the ErrorDocument field's value.
22891 22892 22893 22894 |
// File 'service/s3/api.go', line 22891
|
func (s *WebsiteConfiguration) SetIndexDocument(v *IndexDocument) *WebsiteConfiguration
SetIndexDocument sets the IndexDocument field's value.
22897 22898 22899 22900 |
// File 'service/s3/api.go', line 22897
|
func (s *WebsiteConfiguration) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *WebsiteConfiguration
SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.
22903 22904 22905 22906 |
// File 'service/s3/api.go', line 22903
|
func (s *WebsiteConfiguration) SetRoutingRules(v []*RoutingRule) *WebsiteConfiguration
SetRoutingRules sets the RoutingRules field's value.
22909 22910 22911 22912 |
// File 'service/s3/api.go', line 22909
|
func (s WebsiteConfiguration) 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”.
22842 22843 22844 |
// File 'service/s3/api.go', line 22842
|
func (s *WebsiteConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
22856 22857 22858 22859 22860 22861 22862 22863 22864 22865 22866 22867 22868 22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 |
// File 'service/s3/api.go', line 22856
|