Struct aws_sdk_securityhub::types::builders::AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
source · #[non_exhaustive]pub struct AwsS3BucketWebsiteConfigurationRoutingRuleBuilder { /* private fields */ }
Expand description
A builder for AwsS3BucketWebsiteConfigurationRoutingRule
.
Implementations§
source§impl AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
sourcepub fn condition(
self,
input: AwsS3BucketWebsiteConfigurationRoutingRuleCondition
) -> Self
pub fn condition( self, input: AwsS3BucketWebsiteConfigurationRoutingRuleCondition ) -> Self
Provides the condition that must be met in order to apply the routing rule.
sourcepub fn set_condition(
self,
input: Option<AwsS3BucketWebsiteConfigurationRoutingRuleCondition>
) -> Self
pub fn set_condition( self, input: Option<AwsS3BucketWebsiteConfigurationRoutingRuleCondition> ) -> Self
Provides the condition that must be met in order to apply the routing rule.
sourcepub fn get_condition(
&self
) -> &Option<AwsS3BucketWebsiteConfigurationRoutingRuleCondition>
pub fn get_condition( &self ) -> &Option<AwsS3BucketWebsiteConfigurationRoutingRuleCondition>
Provides the condition that must be met in order to apply the routing rule.
sourcepub fn redirect(
self,
input: AwsS3BucketWebsiteConfigurationRoutingRuleRedirect
) -> Self
pub fn redirect( self, input: AwsS3BucketWebsiteConfigurationRoutingRuleRedirect ) -> Self
Provides the rules to redirect the request if the condition in Condition
is met.
sourcepub fn set_redirect(
self,
input: Option<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>
) -> Self
pub fn set_redirect( self, input: Option<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect> ) -> Self
Provides the rules to redirect the request if the condition in Condition
is met.
sourcepub fn get_redirect(
&self
) -> &Option<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>
pub fn get_redirect( &self ) -> &Option<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>
Provides the rules to redirect the request if the condition in Condition
is met.
sourcepub fn build(self) -> AwsS3BucketWebsiteConfigurationRoutingRule
pub fn build(self) -> AwsS3BucketWebsiteConfigurationRoutingRule
Consumes the builder and constructs a AwsS3BucketWebsiteConfigurationRoutingRule
.
Trait Implementations§
source§impl Clone for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl Clone for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
source§fn clone(&self) -> AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
fn clone(&self) -> AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl Default for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
source§fn default() -> AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
fn default() -> AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl PartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
source§fn eq(&self, other: &AwsS3BucketWebsiteConfigurationRoutingRuleBuilder) -> bool
fn eq(&self, other: &AwsS3BucketWebsiteConfigurationRoutingRuleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
Auto Trait Implementations§
impl Freeze for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl RefUnwindSafe for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl Send for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl Sync for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl Unpin for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
impl UnwindSafe for AwsS3BucketWebsiteConfigurationRoutingRuleBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.