#[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 ==
.impl StructuralPartialEq for AwsS3BucketWebsiteConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AwsS3BucketWebsiteConfigurationBuilder
impl RefUnwindSafe for AwsS3BucketWebsiteConfigurationBuilder
impl Send for AwsS3BucketWebsiteConfigurationBuilder
impl Sync for AwsS3BucketWebsiteConfigurationBuilder
impl Unpin for AwsS3BucketWebsiteConfigurationBuilder
impl UnwindSafe for AwsS3BucketWebsiteConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more