#[non_exhaustive]pub struct AwsS3BucketWebsiteConfigurationBuilder { /* private fields */ }
Expand description
A builder for AwsS3BucketWebsiteConfiguration
.
Implementations§
source§impl AwsS3BucketWebsiteConfigurationBuilder
impl AwsS3BucketWebsiteConfigurationBuilder
sourcepub fn error_document(self, input: impl Into<String>) -> Self
pub fn error_document(self, input: impl Into<String>) -> Self
The name of the error document for the website.
sourcepub fn set_error_document(self, input: Option<String>) -> Self
pub fn set_error_document(self, input: Option<String>) -> Self
The name of the error document for the website.
sourcepub fn get_error_document(&self) -> &Option<String>
pub fn get_error_document(&self) -> &Option<String>
The name of the error document for the website.
sourcepub fn index_document_suffix(self, input: impl Into<String>) -> Self
pub fn index_document_suffix(self, input: impl Into<String>) -> Self
The name of the index document for the website.
sourcepub fn set_index_document_suffix(self, input: Option<String>) -> Self
pub fn set_index_document_suffix(self, input: Option<String>) -> Self
The name of the index document for the website.
sourcepub fn get_index_document_suffix(&self) -> &Option<String>
pub fn get_index_document_suffix(&self) -> &Option<String>
The name of the index document for the website.
sourcepub 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.
sourcepub 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.
sourcepub fn get_redirect_all_requests_to(
&self
) -> &Option<AwsS3BucketWebsiteConfigurationRedirectTo>
pub fn get_redirect_all_requests_to( &self ) -> &Option<AwsS3BucketWebsiteConfigurationRedirectTo>
The redirect behavior for requests to the website.
sourcepub fn routing_rules(
self,
input: AwsS3BucketWebsiteConfigurationRoutingRule
) -> Self
pub fn routing_rules( self, input: AwsS3BucketWebsiteConfigurationRoutingRule ) -> Self
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.
sourcepub 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.
sourcepub fn get_routing_rules(
&self
) -> &Option<Vec<AwsS3BucketWebsiteConfigurationRoutingRule>>
pub fn get_routing_rules( &self ) -> &Option<Vec<AwsS3BucketWebsiteConfigurationRoutingRule>>
The rules for applying redirects for requests to the website.
sourcepub fn build(self) -> AwsS3BucketWebsiteConfiguration
pub fn build(self) -> AwsS3BucketWebsiteConfiguration
Consumes the builder and constructs a AwsS3BucketWebsiteConfiguration
.
Trait Implementations§
source§impl Clone for AwsS3BucketWebsiteConfigurationBuilder
impl Clone for AwsS3BucketWebsiteConfigurationBuilder
source§fn clone(&self) -> AwsS3BucketWebsiteConfigurationBuilder
fn clone(&self) -> AwsS3BucketWebsiteConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsS3BucketWebsiteConfigurationBuilder
impl Default for AwsS3BucketWebsiteConfigurationBuilder
source§fn default() -> AwsS3BucketWebsiteConfigurationBuilder
fn default() -> AwsS3BucketWebsiteConfigurationBuilder
source§impl PartialEq for AwsS3BucketWebsiteConfigurationBuilder
impl PartialEq for AwsS3BucketWebsiteConfigurationBuilder
source§fn eq(&self, other: &AwsS3BucketWebsiteConfigurationBuilder) -> bool
fn eq(&self, other: &AwsS3BucketWebsiteConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.