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”.
23088 23089 23090 |
// File 'service/s3/api.go', line 23088
|
func (s *WebsiteConfiguration) SetErrorDocument(v *ErrorDocument) *WebsiteConfiguration
SetErrorDocument sets the ErrorDocument field's value.
23128 23129 23130 23131 |
// File 'service/s3/api.go', line 23128
|
func (s *WebsiteConfiguration) SetIndexDocument(v *IndexDocument) *WebsiteConfiguration
SetIndexDocument sets the IndexDocument field's value.
23134 23135 23136 23137 |
// File 'service/s3/api.go', line 23134
|
func (s *WebsiteConfiguration) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *WebsiteConfiguration
SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.
23140 23141 23142 23143 |
// File 'service/s3/api.go', line 23140
|
func (s *WebsiteConfiguration) SetRoutingRules(v []*RoutingRule) *WebsiteConfiguration
SetRoutingRules sets the RoutingRules field's value.
23146 23147 23148 23149 |
// File 'service/s3/api.go', line 23146
|
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”.
23079 23080 23081 |
// File 'service/s3/api.go', line 23079
|
func (s *WebsiteConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 |
// File 'service/s3/api.go', line 23093
|