pub struct Builder { /* private fields */ }
Expand description
A builder for AwsEc2TransitGatewayDetails
.
Implementations§
source§impl Builder
impl Builder
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 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.
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 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 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 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 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 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 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 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 build(self) -> AwsEc2TransitGatewayDetails
pub fn build(self) -> AwsEc2TransitGatewayDetails
Consumes the builder and constructs a AwsEc2TransitGatewayDetails
.