#[non_exhaustive]pub struct TransitGatewayRouteTableAssociationBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayRouteTableAssociation
.
Implementations§
source§impl TransitGatewayRouteTableAssociationBuilder
impl TransitGatewayRouteTableAssociationBuilder
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 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 get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
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 get_resource_type(&self) -> &Option<TransitGatewayAttachmentResourceType>
pub fn get_resource_type(&self) -> &Option<TransitGatewayAttachmentResourceType>
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 get_state(&self) -> &Option<TransitGatewayAssociationState>
pub fn get_state(&self) -> &Option<TransitGatewayAssociationState>
The state of the association.
sourcepub fn build(self) -> TransitGatewayRouteTableAssociation
pub fn build(self) -> TransitGatewayRouteTableAssociation
Consumes the builder and constructs a TransitGatewayRouteTableAssociation
.
Trait Implementations§
source§impl Clone for TransitGatewayRouteTableAssociationBuilder
impl Clone for TransitGatewayRouteTableAssociationBuilder
source§fn clone(&self) -> TransitGatewayRouteTableAssociationBuilder
fn clone(&self) -> TransitGatewayRouteTableAssociationBuilder
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 TransitGatewayRouteTableAssociationBuilder
impl Default for TransitGatewayRouteTableAssociationBuilder
source§fn default() -> TransitGatewayRouteTableAssociationBuilder
fn default() -> TransitGatewayRouteTableAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayRouteTableAssociationBuilder> for TransitGatewayRouteTableAssociationBuilder
impl PartialEq<TransitGatewayRouteTableAssociationBuilder> for TransitGatewayRouteTableAssociationBuilder
source§fn eq(&self, other: &TransitGatewayRouteTableAssociationBuilder) -> bool
fn eq(&self, other: &TransitGatewayRouteTableAssociationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayRouteTableAssociationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayRouteTableAssociationBuilder
impl Send for TransitGatewayRouteTableAssociationBuilder
impl Sync for TransitGatewayRouteTableAssociationBuilder
impl Unpin for TransitGatewayRouteTableAssociationBuilder
impl UnwindSafe for TransitGatewayRouteTableAssociationBuilder
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