#[non_exhaustive]pub struct TransitGatewayAssociationBuilder { /* private fields */ }Expand description
A builder for TransitGatewayAssociation.
Implementations§
source§impl TransitGatewayAssociationBuilder
impl TransitGatewayAssociationBuilder
sourcepub fn transit_gateway_route_table_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_route_table_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway route table.
sourcepub fn set_transit_gateway_route_table_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_route_table_id(self, input: Option<String>) -> Self
The ID of the transit gateway route table.
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 resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource.
sourcepub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
pub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
The resource type. Note that the tgw-peering resource type has been deprecated.
sourcepub fn set_resource_type(
self,
input: Option<TransitGatewayAttachmentResourceType>
) -> Self
pub fn set_resource_type( self, input: Option<TransitGatewayAttachmentResourceType> ) -> Self
The resource type. Note that the tgw-peering resource type has been deprecated.
sourcepub fn state(self, input: TransitGatewayAssociationState) -> Self
pub fn state(self, input: TransitGatewayAssociationState) -> Self
The state of the association.
sourcepub fn set_state(self, input: Option<TransitGatewayAssociationState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayAssociationState>) -> Self
The state of the association.
sourcepub fn build(self) -> TransitGatewayAssociation
pub fn build(self) -> TransitGatewayAssociation
Consumes the builder and constructs a TransitGatewayAssociation.
Trait Implementations§
source§impl Clone for TransitGatewayAssociationBuilder
impl Clone for TransitGatewayAssociationBuilder
source§fn clone(&self) -> TransitGatewayAssociationBuilder
fn clone(&self) -> TransitGatewayAssociationBuilder
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 TransitGatewayAssociationBuilder
impl Default for TransitGatewayAssociationBuilder
source§fn default() -> TransitGatewayAssociationBuilder
fn default() -> TransitGatewayAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayAssociationBuilder> for TransitGatewayAssociationBuilder
impl PartialEq<TransitGatewayAssociationBuilder> for TransitGatewayAssociationBuilder
source§fn eq(&self, other: &TransitGatewayAssociationBuilder) -> bool
fn eq(&self, other: &TransitGatewayAssociationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.