#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for AwsS3BucketWebsiteConfiguration
Implementations
The name of the error document for the website.
The name of the error document for the website.
The name of the index document for the website.
The name of the index document for the website.
pub fn redirect_all_requests_to(
self,
input: AwsS3BucketWebsiteConfigurationRedirectTo
) -> Self
pub fn redirect_all_requests_to(
self,
input: AwsS3BucketWebsiteConfigurationRedirectTo
) -> Self
The redirect behavior for requests to the website.
pub fn set_redirect_all_requests_to(
self,
input: Option<AwsS3BucketWebsiteConfigurationRedirectTo>
) -> Self
pub fn set_redirect_all_requests_to(
self,
input: Option<AwsS3BucketWebsiteConfigurationRedirectTo>
) -> Self
The redirect behavior for requests to the website.
Appends an item to routing_rules.
To override the contents of this collection use set_routing_rules.
The rules for applying redirects for requests to the website.
pub fn set_routing_rules(
self,
input: Option<Vec<AwsS3BucketWebsiteConfigurationRoutingRule>>
) -> Self
pub fn set_routing_rules(
self,
input: Option<Vec<AwsS3BucketWebsiteConfigurationRoutingRule>>
) -> Self
The rules for applying redirects for requests to the website.
Consumes the builder and constructs a AwsS3BucketWebsiteConfiguration
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more