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 Freeze for AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.