#[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<TransitGatewayConnectPeerBuilder> for TransitGatewayConnectPeerBuilder
impl PartialEq<TransitGatewayConnectPeerBuilder> 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 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