Struct aws_sdk_ec2::types::builders::TransitGatewayConnectBuilder
source · #[non_exhaustive]pub struct TransitGatewayConnectBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayConnect
.
Implementations§
source§impl TransitGatewayConnectBuilder
impl TransitGatewayConnectBuilder
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 transport_transit_gateway_attachment_id(
self,
input: impl Into<String>
) -> Self
pub fn transport_transit_gateway_attachment_id( self, input: impl Into<String> ) -> Self
The ID of the attachment from which the Connect attachment was created.
sourcepub fn set_transport_transit_gateway_attachment_id(
self,
input: Option<String>
) -> Self
pub fn set_transport_transit_gateway_attachment_id( self, input: Option<String> ) -> Self
The ID of the attachment from which the Connect attachment was created.
sourcepub fn get_transport_transit_gateway_attachment_id(&self) -> &Option<String>
pub fn get_transport_transit_gateway_attachment_id(&self) -> &Option<String>
The ID of the attachment from which the Connect attachment was created.
sourcepub fn transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway.
sourcepub fn set_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_id(self, input: Option<String>) -> Self
The ID of the transit gateway.
sourcepub fn get_transit_gateway_id(&self) -> &Option<String>
pub fn get_transit_gateway_id(&self) -> &Option<String>
The ID of the transit gateway.
sourcepub fn state(self, input: TransitGatewayAttachmentState) -> Self
pub fn state(self, input: TransitGatewayAttachmentState) -> Self
The state of the attachment.
sourcepub fn set_state(self, input: Option<TransitGatewayAttachmentState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayAttachmentState>) -> Self
The state of the attachment.
sourcepub fn get_state(&self) -> &Option<TransitGatewayAttachmentState>
pub fn get_state(&self) -> &Option<TransitGatewayAttachmentState>
The state of the attachment.
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 options(self, input: TransitGatewayConnectOptions) -> Self
pub fn options(self, input: TransitGatewayConnectOptions) -> Self
The Connect attachment options.
sourcepub fn set_options(self, input: Option<TransitGatewayConnectOptions>) -> Self
pub fn set_options(self, input: Option<TransitGatewayConnectOptions>) -> Self
The Connect attachment options.
sourcepub fn get_options(&self) -> &Option<TransitGatewayConnectOptions>
pub fn get_options(&self) -> &Option<TransitGatewayConnectOptions>
The Connect attachment options.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the attachment.
The tags for the attachment.
The tags for the attachment.
sourcepub fn build(self) -> TransitGatewayConnect
pub fn build(self) -> TransitGatewayConnect
Consumes the builder and constructs a TransitGatewayConnect
.
Trait Implementations§
source§impl Clone for TransitGatewayConnectBuilder
impl Clone for TransitGatewayConnectBuilder
source§fn clone(&self) -> TransitGatewayConnectBuilder
fn clone(&self) -> TransitGatewayConnectBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransitGatewayConnectBuilder
impl Debug for TransitGatewayConnectBuilder
source§impl Default for TransitGatewayConnectBuilder
impl Default for TransitGatewayConnectBuilder
source§fn default() -> TransitGatewayConnectBuilder
fn default() -> TransitGatewayConnectBuilder
source§impl PartialEq<TransitGatewayConnectBuilder> for TransitGatewayConnectBuilder
impl PartialEq<TransitGatewayConnectBuilder> for TransitGatewayConnectBuilder
source§fn eq(&self, other: &TransitGatewayConnectBuilder) -> bool
fn eq(&self, other: &TransitGatewayConnectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.