Struct aws_sdk_securityhub::model::aws_s3_bucket_website_configuration_routing_rule::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for AwsS3BucketWebsiteConfigurationRoutingRule
Implementations
Provides the condition that must be met in order to apply the routing rule.
pub 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.
Provides the rules to redirect the request if the condition in Condition is met.
pub 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.
Consumes the builder and constructs a AwsS3BucketWebsiteConfigurationRoutingRule
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