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 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>
Creates a shared type from an unshared type.