Struct aws_sdk_securityhub::types::builders::AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
source · #[non_exhaustive]pub struct AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEventsEndpointRoutingConfigFailoverConfigDetails
.
Implementations§
source§impl AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
impl AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
sourcepub fn primary(
self,
input: AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails
) -> Self
pub fn primary( self, input: AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails ) -> Self
The main Region of the endpoint.
sourcepub fn set_primary(
self,
input: Option<AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails>
) -> Self
pub fn set_primary( self, input: Option<AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails> ) -> Self
The main Region of the endpoint.
sourcepub fn get_primary(
&self
) -> &Option<AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails>
pub fn get_primary( &self ) -> &Option<AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails>
The main Region of the endpoint.
sourcepub fn secondary(
self,
input: AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails
) -> Self
pub fn secondary( self, input: AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails ) -> Self
The Region that events are routed to when failover is triggered or event replication is enabled.
sourcepub fn set_secondary(
self,
input: Option<AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails>
) -> Self
pub fn set_secondary( self, input: Option<AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails> ) -> Self
The Region that events are routed to when failover is triggered or event replication is enabled.
sourcepub fn get_secondary(
&self
) -> &Option<AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails>
pub fn get_secondary( &self ) -> &Option<AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails>
The Region that events are routed to when failover is triggered or event replication is enabled.
sourcepub fn build(self) -> AwsEventsEndpointRoutingConfigFailoverConfigDetails
pub fn build(self) -> AwsEventsEndpointRoutingConfigFailoverConfigDetails
Consumes the builder and constructs a AwsEventsEndpointRoutingConfigFailoverConfigDetails
.
Trait Implementations§
source§impl Clone for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
impl Clone for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
source§fn clone(&self) -> AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
fn clone(&self) -> AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
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 AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
impl Default for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
source§fn default() -> AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
fn default() -> AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
impl PartialEq for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
source§fn eq(
&self,
other: &AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
impl Send for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
impl Sync for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
impl Unpin for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
impl UnwindSafe for AwsEventsEndpointRoutingConfigFailoverConfigDetailsBuilder
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.