#[non_exhaustive]pub struct AwsS3BucketWebsiteConfigurationRoutingRuleCondition {
pub http_error_code_returned_equals: Option<String>,
pub key_prefix_equals: Option<String>,
}
Expand description
The condition that must be met in order to apply the routing rule.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.http_error_code_returned_equals: Option<String>
Indicates to redirect the request if the HTTP error code matches this value.
key_prefix_equals: Option<String>
Indicates to redirect the request if the key prefix matches this value.
Implementations§
source§impl AwsS3BucketWebsiteConfigurationRoutingRuleCondition
impl AwsS3BucketWebsiteConfigurationRoutingRuleCondition
sourcepub fn http_error_code_returned_equals(&self) -> Option<&str>
pub fn http_error_code_returned_equals(&self) -> Option<&str>
Indicates to redirect the request if the HTTP error code matches this value.
sourcepub fn key_prefix_equals(&self) -> Option<&str>
pub fn key_prefix_equals(&self) -> Option<&str>
Indicates to redirect the request if the key prefix matches this value.
source§impl AwsS3BucketWebsiteConfigurationRoutingRuleCondition
impl AwsS3BucketWebsiteConfigurationRoutingRuleCondition
sourcepub fn builder() -> AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
pub fn builder() -> AwsS3BucketWebsiteConfigurationRoutingRuleConditionBuilder
Creates a new builder-style object to manufacture AwsS3BucketWebsiteConfigurationRoutingRuleCondition
.
Trait Implementations§
source§impl Clone for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
impl Clone for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
source§fn clone(&self) -> AwsS3BucketWebsiteConfigurationRoutingRuleCondition
fn clone(&self) -> AwsS3BucketWebsiteConfigurationRoutingRuleCondition
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 PartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
impl PartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
source§fn eq(
&self,
other: &AwsS3BucketWebsiteConfigurationRoutingRuleCondition
) -> bool
fn eq( &self, other: &AwsS3BucketWebsiteConfigurationRoutingRuleCondition ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
Auto Trait Implementations§
impl RefUnwindSafe for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
impl Send for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
impl Sync for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
impl Unpin for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
impl UnwindSafe for AwsS3BucketWebsiteConfigurationRoutingRuleCondition
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.