#[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 for TransitGatewayPolicyTableAssociationBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for TransitGatewayPolicyTableAssociationBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayPolicyTableAssociationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more