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