#[non_exhaustive]pub struct TransitGatewayVpcAttachmentBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayVpcAttachment
.
Implementations§
source§impl TransitGatewayVpcAttachmentBuilder
impl TransitGatewayVpcAttachmentBuilder
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 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 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 attachment.
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 set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC.
sourcepub fn vpc_owner_id(self, input: impl Into<String>) -> Self
pub fn vpc_owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the VPC.
sourcepub fn set_vpc_owner_id(self, input: Option<String>) -> Self
pub fn set_vpc_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the VPC.
sourcepub fn get_vpc_owner_id(&self) -> &Option<String>
pub fn get_vpc_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the VPC.
sourcepub fn state(self, input: TransitGatewayAttachmentState) -> Self
pub fn state(self, input: TransitGatewayAttachmentState) -> Self
The state of the VPC attachment. Note that the initiating
state has been deprecated.
sourcepub fn set_state(self, input: Option<TransitGatewayAttachmentState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayAttachmentState>) -> Self
The state of the VPC attachment. Note that the initiating
state has been deprecated.
sourcepub fn get_state(&self) -> &Option<TransitGatewayAttachmentState>
pub fn get_state(&self) -> &Option<TransitGatewayAttachmentState>
The state of the VPC attachment. Note that the initiating
state has been deprecated.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids
.
To override the contents of this collection use set_subnet_ids
.
The IDs of the subnets.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the subnets.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
The IDs of the subnets.
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: TransitGatewayVpcAttachmentOptions) -> Self
pub fn options(self, input: TransitGatewayVpcAttachmentOptions) -> Self
The VPC attachment options.
sourcepub fn set_options(
self,
input: Option<TransitGatewayVpcAttachmentOptions>
) -> Self
pub fn set_options( self, input: Option<TransitGatewayVpcAttachmentOptions> ) -> Self
The VPC attachment options.
sourcepub fn get_options(&self) -> &Option<TransitGatewayVpcAttachmentOptions>
pub fn get_options(&self) -> &Option<TransitGatewayVpcAttachmentOptions>
The VPC attachment options.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the VPC attachment.
The tags for the VPC attachment.
The tags for the VPC attachment.
sourcepub fn build(self) -> TransitGatewayVpcAttachment
pub fn build(self) -> TransitGatewayVpcAttachment
Consumes the builder and constructs a TransitGatewayVpcAttachment
.
Trait Implementations§
source§impl Clone for TransitGatewayVpcAttachmentBuilder
impl Clone for TransitGatewayVpcAttachmentBuilder
source§fn clone(&self) -> TransitGatewayVpcAttachmentBuilder
fn clone(&self) -> TransitGatewayVpcAttachmentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayVpcAttachmentBuilder
impl Default for TransitGatewayVpcAttachmentBuilder
source§fn default() -> TransitGatewayVpcAttachmentBuilder
fn default() -> TransitGatewayVpcAttachmentBuilder
source§impl PartialEq<TransitGatewayVpcAttachmentBuilder> for TransitGatewayVpcAttachmentBuilder
impl PartialEq<TransitGatewayVpcAttachmentBuilder> for TransitGatewayVpcAttachmentBuilder
source§fn eq(&self, other: &TransitGatewayVpcAttachmentBuilder) -> bool
fn eq(&self, other: &TransitGatewayVpcAttachmentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.