#[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 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 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 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 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 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
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 TransitGatewayPolicyTableAssociationBuilder
impl Default for TransitGatewayPolicyTableAssociationBuilder
source§fn default() -> TransitGatewayPolicyTableAssociationBuilder
fn default() -> TransitGatewayPolicyTableAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayPolicyTableAssociationBuilder> for TransitGatewayPolicyTableAssociationBuilder
impl PartialEq<TransitGatewayPolicyTableAssociationBuilder> for TransitGatewayPolicyTableAssociationBuilder
source§fn eq(&self, other: &TransitGatewayPolicyTableAssociationBuilder) -> bool
fn eq(&self, other: &TransitGatewayPolicyTableAssociationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayPolicyTableAssociationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayPolicyTableAssociationBuilder
impl Send for TransitGatewayPolicyTableAssociationBuilder
impl Sync for TransitGatewayPolicyTableAssociationBuilder
impl Unpin for TransitGatewayPolicyTableAssociationBuilder
impl UnwindSafe for TransitGatewayPolicyTableAssociationBuilder
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