#[non_exhaustive]pub struct TransitGatewayConnectPeerBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayConnectPeer
.
Implementations§
source§impl TransitGatewayConnectPeerBuilder
impl TransitGatewayConnectPeerBuilder
sourcepub fn transit_gateway_attachment_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_attachment_id(self, input: impl Into<String>) -> Self
The ID of the Connect attachment.
sourcepub fn set_transit_gateway_attachment_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_attachment_id(self, input: Option<String>) -> Self
The ID of the Connect attachment.
sourcepub fn get_transit_gateway_attachment_id(&self) -> &Option<String>
pub fn get_transit_gateway_attachment_id(&self) -> &Option<String>
The ID of the Connect attachment.
sourcepub fn transit_gateway_connect_peer_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_connect_peer_id(self, input: impl Into<String>) -> Self
The ID of the Connect peer.
sourcepub fn set_transit_gateway_connect_peer_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_connect_peer_id(self, input: Option<String>) -> Self
The ID of the Connect peer.
sourcepub fn get_transit_gateway_connect_peer_id(&self) -> &Option<String>
pub fn get_transit_gateway_connect_peer_id(&self) -> &Option<String>
The ID of the Connect peer.
sourcepub fn state(self, input: TransitGatewayConnectPeerState) -> Self
pub fn state(self, input: TransitGatewayConnectPeerState) -> Self
The state of the Connect peer.
sourcepub fn set_state(self, input: Option<TransitGatewayConnectPeerState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayConnectPeerState>) -> Self
The state of the Connect peer.
sourcepub fn get_state(&self) -> &Option<TransitGatewayConnectPeerState>
pub fn get_state(&self) -> &Option<TransitGatewayConnectPeerState>
The state of the Connect peer.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The creation time.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The creation time.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The creation time.
sourcepub fn connect_peer_configuration(
self,
input: TransitGatewayConnectPeerConfiguration,
) -> Self
pub fn connect_peer_configuration( self, input: TransitGatewayConnectPeerConfiguration, ) -> Self
The Connect peer details.
sourcepub fn set_connect_peer_configuration(
self,
input: Option<TransitGatewayConnectPeerConfiguration>,
) -> Self
pub fn set_connect_peer_configuration( self, input: Option<TransitGatewayConnectPeerConfiguration>, ) -> Self
The Connect peer details.
sourcepub fn get_connect_peer_configuration(
&self,
) -> &Option<TransitGatewayConnectPeerConfiguration>
pub fn get_connect_peer_configuration( &self, ) -> &Option<TransitGatewayConnectPeerConfiguration>
The Connect peer details.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the Connect peer.
The tags for the Connect peer.
The tags for the Connect peer.
sourcepub fn build(self) -> TransitGatewayConnectPeer
pub fn build(self) -> TransitGatewayConnectPeer
Consumes the builder and constructs a TransitGatewayConnectPeer
.
Trait Implementations§
source§impl Clone for TransitGatewayConnectPeerBuilder
impl Clone for TransitGatewayConnectPeerBuilder
source§fn clone(&self) -> TransitGatewayConnectPeerBuilder
fn clone(&self) -> TransitGatewayConnectPeerBuilder
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 TransitGatewayConnectPeerBuilder
impl Default for TransitGatewayConnectPeerBuilder
source§fn default() -> TransitGatewayConnectPeerBuilder
fn default() -> TransitGatewayConnectPeerBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TransitGatewayConnectPeerBuilder
impl PartialEq for TransitGatewayConnectPeerBuilder
source§fn eq(&self, other: &TransitGatewayConnectPeerBuilder) -> bool
fn eq(&self, other: &TransitGatewayConnectPeerBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayConnectPeerBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayConnectPeerBuilder
impl RefUnwindSafe for TransitGatewayConnectPeerBuilder
impl Send for TransitGatewayConnectPeerBuilder
impl Sync for TransitGatewayConnectPeerBuilder
impl Unpin for TransitGatewayConnectPeerBuilder
impl UnwindSafe for TransitGatewayConnectPeerBuilder
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>
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.