Struct aws_sdk_ec2::model::transit_gateway_connect::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TransitGatewayConnect
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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.
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.
sourcepub fn build(self) -> TransitGatewayConnect
pub fn build(self) -> TransitGatewayConnect
Consumes the builder and constructs a TransitGatewayConnect
.