#[non_exhaustive]pub struct TransitGatewayRequestOptionsBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayRequestOptions
.
Implementations§
source§impl TransitGatewayRequestOptionsBuilder
impl TransitGatewayRequestOptionsBuilder
sourcepub fn amazon_side_asn(self, input: i64) -> Self
pub fn amazon_side_asn(self, input: i64) -> Self
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. The default is 64512
.
sourcepub fn set_amazon_side_asn(self, input: Option<i64>) -> Self
pub fn set_amazon_side_asn(self, input: Option<i64>) -> Self
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. The default is 64512
.
sourcepub fn get_amazon_side_asn(&self) -> &Option<i64>
pub fn get_amazon_side_asn(&self) -> &Option<i64>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. The default is 64512
.
Enable or disable automatic acceptance of attachment requests. Disabled by default.
Enable or disable automatic acceptance of attachment requests. Disabled by default.
Enable or disable automatic acceptance of attachment requests. Disabled by default.
sourcepub fn default_route_table_association(
self,
input: DefaultRouteTableAssociationValue
) -> Self
pub fn default_route_table_association( self, input: DefaultRouteTableAssociationValue ) -> Self
Enable or disable automatic association with the default association route table. Enabled by default.
sourcepub fn set_default_route_table_association(
self,
input: Option<DefaultRouteTableAssociationValue>
) -> Self
pub fn set_default_route_table_association( self, input: Option<DefaultRouteTableAssociationValue> ) -> Self
Enable or disable automatic association with the default association route table. Enabled by default.
sourcepub fn get_default_route_table_association(
&self
) -> &Option<DefaultRouteTableAssociationValue>
pub fn get_default_route_table_association( &self ) -> &Option<DefaultRouteTableAssociationValue>
Enable or disable automatic association with the default association route table. Enabled by default.
sourcepub fn default_route_table_propagation(
self,
input: DefaultRouteTablePropagationValue
) -> Self
pub fn default_route_table_propagation( self, input: DefaultRouteTablePropagationValue ) -> Self
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
sourcepub fn set_default_route_table_propagation(
self,
input: Option<DefaultRouteTablePropagationValue>
) -> Self
pub fn set_default_route_table_propagation( self, input: Option<DefaultRouteTablePropagationValue> ) -> Self
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
sourcepub fn get_default_route_table_propagation(
&self
) -> &Option<DefaultRouteTablePropagationValue>
pub fn get_default_route_table_propagation( &self ) -> &Option<DefaultRouteTablePropagationValue>
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
sourcepub fn vpn_ecmp_support(self, input: VpnEcmpSupportValue) -> Self
pub fn vpn_ecmp_support(self, input: VpnEcmpSupportValue) -> Self
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
sourcepub fn set_vpn_ecmp_support(self, input: Option<VpnEcmpSupportValue>) -> Self
pub fn set_vpn_ecmp_support(self, input: Option<VpnEcmpSupportValue>) -> Self
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
sourcepub fn get_vpn_ecmp_support(&self) -> &Option<VpnEcmpSupportValue>
pub fn get_vpn_ecmp_support(&self) -> &Option<VpnEcmpSupportValue>
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
sourcepub fn dns_support(self, input: DnsSupportValue) -> Self
pub fn dns_support(self, input: DnsSupportValue) -> Self
Enable or disable DNS support. Enabled by default.
sourcepub fn set_dns_support(self, input: Option<DnsSupportValue>) -> Self
pub fn set_dns_support(self, input: Option<DnsSupportValue>) -> Self
Enable or disable DNS support. Enabled by default.
sourcepub fn get_dns_support(&self) -> &Option<DnsSupportValue>
pub fn get_dns_support(&self) -> &Option<DnsSupportValue>
Enable or disable DNS support. Enabled by default.
sourcepub fn multicast_support(self, input: MulticastSupportValue) -> Self
pub fn multicast_support(self, input: MulticastSupportValue) -> Self
Indicates whether multicast is enabled on the transit gateway
sourcepub fn set_multicast_support(self, input: Option<MulticastSupportValue>) -> Self
pub fn set_multicast_support(self, input: Option<MulticastSupportValue>) -> Self
Indicates whether multicast is enabled on the transit gateway
sourcepub fn get_multicast_support(&self) -> &Option<MulticastSupportValue>
pub fn get_multicast_support(&self) -> &Option<MulticastSupportValue>
Indicates whether multicast is enabled on the transit gateway
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
.
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
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
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
sourcepub fn get_transit_gateway_cidr_blocks(&self) -> &Option<Vec<String>>
pub fn get_transit_gateway_cidr_blocks(&self) -> &Option<Vec<String>>
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
sourcepub fn build(self) -> TransitGatewayRequestOptions
pub fn build(self) -> TransitGatewayRequestOptions
Consumes the builder and constructs a TransitGatewayRequestOptions
.
Trait Implementations§
source§impl Clone for TransitGatewayRequestOptionsBuilder
impl Clone for TransitGatewayRequestOptionsBuilder
source§fn clone(&self) -> TransitGatewayRequestOptionsBuilder
fn clone(&self) -> TransitGatewayRequestOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayRequestOptionsBuilder
impl Default for TransitGatewayRequestOptionsBuilder
source§fn default() -> TransitGatewayRequestOptionsBuilder
fn default() -> TransitGatewayRequestOptionsBuilder
source§impl PartialEq<TransitGatewayRequestOptionsBuilder> for TransitGatewayRequestOptionsBuilder
impl PartialEq<TransitGatewayRequestOptionsBuilder> for TransitGatewayRequestOptionsBuilder
source§fn eq(&self, other: &TransitGatewayRequestOptionsBuilder) -> bool
fn eq(&self, other: &TransitGatewayRequestOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.