#[non_exhaustive]pub struct TransitGatewayPolicyTableAssociationBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayPolicyTableAssociation
.
Implementations§
source§impl TransitGatewayPolicyTableAssociationBuilder
impl TransitGatewayPolicyTableAssociationBuilder
sourcepub fn transit_gateway_policy_table_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_policy_table_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway policy table.
sourcepub fn set_transit_gateway_policy_table_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_policy_table_id(self, input: Option<String>) -> Self
The ID of the transit gateway policy table.
sourcepub fn get_transit_gateway_policy_table_id(&self) -> &Option<String>
pub fn get_transit_gateway_policy_table_id(&self) -> &Option<String>
The ID of the transit gateway policy 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 transit gateway 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 transit gateway 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 transit gateway attachment.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The resource ID of the transit gateway attachment.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The resource ID of the transit gateway attachment.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The resource ID of the transit gateway attachment.
sourcepub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
pub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
The resource type for the transit gateway policy table association.
sourcepub fn set_resource_type(
self,
input: Option<TransitGatewayAttachmentResourceType>
) -> Self
pub fn set_resource_type( self, input: Option<TransitGatewayAttachmentResourceType> ) -> Self
The resource type for the transit gateway policy table association.
sourcepub fn get_resource_type(&self) -> &Option<TransitGatewayAttachmentResourceType>
pub fn get_resource_type(&self) -> &Option<TransitGatewayAttachmentResourceType>
The resource type for the transit gateway policy table association.
sourcepub fn state(self, input: TransitGatewayAssociationState) -> Self
pub fn state(self, input: TransitGatewayAssociationState) -> Self
The state of the transit gateway policy table association.
sourcepub fn set_state(self, input: Option<TransitGatewayAssociationState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayAssociationState>) -> Self
The state of the transit gateway policy table association.
sourcepub fn get_state(&self) -> &Option<TransitGatewayAssociationState>
pub fn get_state(&self) -> &Option<TransitGatewayAssociationState>
The state of the transit gateway policy table association.
sourcepub fn build(self) -> TransitGatewayPolicyTableAssociation
pub fn build(self) -> TransitGatewayPolicyTableAssociation
Consumes the builder and constructs a TransitGatewayPolicyTableAssociation
.
Trait Implementations§
source§impl Clone for TransitGatewayPolicyTableAssociationBuilder
impl Clone for TransitGatewayPolicyTableAssociationBuilder
source§fn clone(&self) -> TransitGatewayPolicyTableAssociationBuilder
fn clone(&self) -> TransitGatewayPolicyTableAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayPolicyTableAssociationBuilder
impl Default for TransitGatewayPolicyTableAssociationBuilder
source§fn default() -> TransitGatewayPolicyTableAssociationBuilder
fn default() -> TransitGatewayPolicyTableAssociationBuilder
source§impl PartialEq<TransitGatewayPolicyTableAssociationBuilder> for TransitGatewayPolicyTableAssociationBuilder
impl PartialEq<TransitGatewayPolicyTableAssociationBuilder> for TransitGatewayPolicyTableAssociationBuilder
source§fn eq(&self, other: &TransitGatewayPolicyTableAssociationBuilder) -> bool
fn eq(&self, other: &TransitGatewayPolicyTableAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.