#[non_exhaustive]pub struct AwsEc2TransitGatewayDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEc2TransitGatewayDetails
.
Implementations§
source§impl AwsEc2TransitGatewayDetailsBuilder
impl AwsEc2TransitGatewayDetailsBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the transit gateway.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the transit gateway.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the transit gateway.
sourcepub fn default_route_table_propagation(self, input: impl Into<String>) -> Self
pub fn default_route_table_propagation(self, input: impl Into<String>) -> Self
Turn on or turn off automatic propagation of routes to the default propagation route table.
sourcepub fn set_default_route_table_propagation(self, input: Option<String>) -> Self
pub fn set_default_route_table_propagation(self, input: Option<String>) -> Self
Turn on or turn off automatic propagation of routes to the default propagation route table.
sourcepub fn get_default_route_table_propagation(&self) -> &Option<String>
pub fn get_default_route_table_propagation(&self) -> &Option<String>
Turn on or turn off automatic propagation of routes to the default propagation route table.
Turn on or turn off automatic acceptance of attachment requests.
Turn on or turn off automatic acceptance of attachment requests.
Turn on or turn off automatic acceptance of attachment requests.
sourcepub fn default_route_table_association(self, input: impl Into<String>) -> Self
pub fn default_route_table_association(self, input: impl Into<String>) -> Self
Turn on or turn off automatic association with the default association route table.
sourcepub fn set_default_route_table_association(self, input: Option<String>) -> Self
pub fn set_default_route_table_association(self, input: Option<String>) -> Self
Turn on or turn off automatic association with the default association route table.
sourcepub fn get_default_route_table_association(&self) -> &Option<String>
pub fn get_default_route_table_association(&self) -> &Option<String>
Turn on or turn off automatic association with the default association route table.
sourcepub fn transit_gateway_cidr_blocks(self, input: impl Into<String>) -> Self
pub fn transit_gateway_cidr_blocks(self, input: impl Into<String>) -> Self
Appends an item to transit_gateway_cidr_blocks
.
To override the contents of this collection use set_transit_gateway_cidr_blocks
.
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
sourcepub fn set_transit_gateway_cidr_blocks(self, input: Option<Vec<String>>) -> Self
pub fn set_transit_gateway_cidr_blocks(self, input: Option<Vec<String>>) -> Self
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
sourcepub fn get_transit_gateway_cidr_blocks(&self) -> &Option<Vec<String>>
pub fn get_transit_gateway_cidr_blocks(&self) -> &Option<Vec<String>>
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
sourcepub fn association_default_route_table_id(
self,
input: impl Into<String>
) -> Self
pub fn association_default_route_table_id( self, input: impl Into<String> ) -> Self
The ID of the default association route table.
sourcepub fn set_association_default_route_table_id(
self,
input: Option<String>
) -> Self
pub fn set_association_default_route_table_id( self, input: Option<String> ) -> Self
The ID of the default association route table.
sourcepub fn get_association_default_route_table_id(&self) -> &Option<String>
pub fn get_association_default_route_table_id(&self) -> &Option<String>
The ID of the default association route table.
sourcepub fn propagation_default_route_table_id(
self,
input: impl Into<String>
) -> Self
pub fn propagation_default_route_table_id( self, input: impl Into<String> ) -> Self
The ID of the default propagation route table.
sourcepub fn set_propagation_default_route_table_id(
self,
input: Option<String>
) -> Self
pub fn set_propagation_default_route_table_id( self, input: Option<String> ) -> Self
The ID of the default propagation route table.
sourcepub fn get_propagation_default_route_table_id(&self) -> &Option<String>
pub fn get_propagation_default_route_table_id(&self) -> &Option<String>
The ID of the default propagation route table.
sourcepub fn vpn_ecmp_support(self, input: impl Into<String>) -> Self
pub fn vpn_ecmp_support(self, input: impl Into<String>) -> Self
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
sourcepub fn set_vpn_ecmp_support(self, input: Option<String>) -> Self
pub fn set_vpn_ecmp_support(self, input: Option<String>) -> Self
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
sourcepub fn get_vpn_ecmp_support(&self) -> &Option<String>
pub fn get_vpn_ecmp_support(&self) -> &Option<String>
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
sourcepub fn dns_support(self, input: impl Into<String>) -> Self
pub fn dns_support(self, input: impl Into<String>) -> Self
Turn on or turn off DNS support.
sourcepub fn set_dns_support(self, input: Option<String>) -> Self
pub fn set_dns_support(self, input: Option<String>) -> Self
Turn on or turn off DNS support.
sourcepub fn get_dns_support(&self) -> &Option<String>
pub fn get_dns_support(&self) -> &Option<String>
Turn on or turn off DNS support.
sourcepub fn multicast_support(self, input: impl Into<String>) -> Self
pub fn multicast_support(self, input: impl Into<String>) -> Self
Indicates whether multicast is supported on the transit gateway.
sourcepub fn set_multicast_support(self, input: Option<String>) -> Self
pub fn set_multicast_support(self, input: Option<String>) -> Self
Indicates whether multicast is supported on the transit gateway.
sourcepub fn get_multicast_support(&self) -> &Option<String>
pub fn get_multicast_support(&self) -> &Option<String>
Indicates whether multicast is supported on the transit gateway.
sourcepub fn amazon_side_asn(self, input: i32) -> Self
pub fn amazon_side_asn(self, input: i32) -> Self
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
sourcepub fn set_amazon_side_asn(self, input: Option<i32>) -> Self
pub fn set_amazon_side_asn(self, input: Option<i32>) -> Self
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
sourcepub fn get_amazon_side_asn(&self) -> &Option<i32>
pub fn get_amazon_side_asn(&self) -> &Option<i32>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
sourcepub fn build(self) -> AwsEc2TransitGatewayDetails
pub fn build(self) -> AwsEc2TransitGatewayDetails
Consumes the builder and constructs a AwsEc2TransitGatewayDetails
.
Trait Implementations§
source§impl Clone for AwsEc2TransitGatewayDetailsBuilder
impl Clone for AwsEc2TransitGatewayDetailsBuilder
source§fn clone(&self) -> AwsEc2TransitGatewayDetailsBuilder
fn clone(&self) -> AwsEc2TransitGatewayDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEc2TransitGatewayDetailsBuilder
impl Default for AwsEc2TransitGatewayDetailsBuilder
source§fn default() -> AwsEc2TransitGatewayDetailsBuilder
fn default() -> AwsEc2TransitGatewayDetailsBuilder
source§impl PartialEq for AwsEc2TransitGatewayDetailsBuilder
impl PartialEq for AwsEc2TransitGatewayDetailsBuilder
source§fn eq(&self, other: &AwsEc2TransitGatewayDetailsBuilder) -> bool
fn eq(&self, other: &AwsEc2TransitGatewayDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEc2TransitGatewayDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEc2TransitGatewayDetailsBuilder
impl RefUnwindSafe for AwsEc2TransitGatewayDetailsBuilder
impl Send for AwsEc2TransitGatewayDetailsBuilder
impl Sync for AwsEc2TransitGatewayDetailsBuilder
impl Unpin for AwsEc2TransitGatewayDetailsBuilder
impl UnwindSafe for AwsEc2TransitGatewayDetailsBuilder
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