Struct aws_sdk_securityhub::types::builders::AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
source · #[non_exhaustive]pub struct AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder { /* private fields */ }
Expand description
A builder for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
.
Implementations§
source§impl AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
impl AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
sourcepub fn http_error_code_returned_equals(self, input: impl Into<String>) -> Self
pub fn http_error_code_returned_equals(self, input: impl Into<String>) -> Self
Indicates to redirect the request if the HTTP error code matches this value.
sourcepub fn set_http_error_code_returned_equals(self, input: Option<String>) -> Self
pub fn set_http_error_code_returned_equals(self, input: Option<String>) -> Self
Indicates to redirect the request if the HTTP error code matches this value.
sourcepub fn get_http_error_code_returned_equals(&self) -> &Option<String>
pub fn get_http_error_code_returned_equals(&self) -> &Option<String>
Indicates to redirect the request if the HTTP error code matches this value.
sourcepub fn key_prefix_equals(self, input: impl Into<String>) -> Self
pub fn key_prefix_equals(self, input: impl Into<String>) -> Self
Indicates to redirect the request if the key prefix matches this value.
sourcepub fn set_key_prefix_equals(self, input: Option<String>) -> Self
pub fn set_key_prefix_equals(self, input: Option<String>) -> Self
Indicates to redirect the request if the key prefix matches this value.
sourcepub fn get_key_prefix_equals(&self) -> &Option<String>
pub fn get_key_prefix_equals(&self) -> &Option<String>
Indicates to redirect the request if the key prefix matches this value.
sourcepub fn build(self) -> AwsS3BucketWebsiteConfigurationRoutingRuleCondition
pub fn build(self) -> AwsS3BucketWebsiteConfigurationRoutingRuleCondition
Consumes the builder and constructs a AwsS3BucketWebsiteConfigurationRoutingRuleCondition
.
Trait Implementations§
source§impl Clone for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
impl Clone for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
source§fn clone(&self) -> AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
fn clone(&self) -> AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
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 AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
impl Default for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
source§fn default() -> AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
fn default() -> AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
impl PartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
source§fn eq(
&self,
other: &AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
) -> bool
fn eq( &self, other: &AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
impl Send for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
impl Sync for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
impl Unpin for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
impl UnwindSafe for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
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.