#[non_exhaustive]pub struct ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder { /* private fields */ }
Expand description
A builder for ModifyTransitGatewayVpcAttachmentRequestOptions
.
Implementations§
source§impl ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
impl ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
sourcepub fn dns_support(self, input: DnsSupportValue) -> Self
pub fn dns_support(self, input: DnsSupportValue) -> Self
Enable or disable DNS support. The default is enable
.
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. The default is enable
.
sourcepub fn get_dns_support(&self) -> &Option<DnsSupportValue>
pub fn get_dns_support(&self) -> &Option<DnsSupportValue>
Enable or disable DNS support. The default is enable
.
sourcepub fn security_group_referencing_support(
self,
input: SecurityGroupReferencingSupportValue
) -> Self
pub fn security_group_referencing_support( self, input: SecurityGroupReferencingSupportValue ) -> Self
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
sourcepub fn set_security_group_referencing_support(
self,
input: Option<SecurityGroupReferencingSupportValue>
) -> Self
pub fn set_security_group_referencing_support( self, input: Option<SecurityGroupReferencingSupportValue> ) -> Self
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
sourcepub fn get_security_group_referencing_support(
&self
) -> &Option<SecurityGroupReferencingSupportValue>
pub fn get_security_group_referencing_support( &self ) -> &Option<SecurityGroupReferencingSupportValue>
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
sourcepub fn ipv6_support(self, input: Ipv6SupportValue) -> Self
pub fn ipv6_support(self, input: Ipv6SupportValue) -> Self
Enable or disable IPv6 support. The default is enable
.
sourcepub fn set_ipv6_support(self, input: Option<Ipv6SupportValue>) -> Self
pub fn set_ipv6_support(self, input: Option<Ipv6SupportValue>) -> Self
Enable or disable IPv6 support. The default is enable
.
sourcepub fn get_ipv6_support(&self) -> &Option<Ipv6SupportValue>
pub fn get_ipv6_support(&self) -> &Option<Ipv6SupportValue>
Enable or disable IPv6 support. The default is enable
.
sourcepub fn appliance_mode_support(self, input: ApplianceModeSupportValue) -> Self
pub fn appliance_mode_support(self, input: ApplianceModeSupportValue) -> Self
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is disable
.
sourcepub fn set_appliance_mode_support(
self,
input: Option<ApplianceModeSupportValue>
) -> Self
pub fn set_appliance_mode_support( self, input: Option<ApplianceModeSupportValue> ) -> Self
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is disable
.
sourcepub fn get_appliance_mode_support(&self) -> &Option<ApplianceModeSupportValue>
pub fn get_appliance_mode_support(&self) -> &Option<ApplianceModeSupportValue>
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is disable
.
sourcepub fn build(self) -> ModifyTransitGatewayVpcAttachmentRequestOptions
pub fn build(self) -> ModifyTransitGatewayVpcAttachmentRequestOptions
Consumes the builder and constructs a ModifyTransitGatewayVpcAttachmentRequestOptions
.
Trait Implementations§
source§impl Clone for ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
impl Clone for ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
source§fn clone(&self) -> ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
fn clone(&self) -> ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
impl Default for ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
source§fn default() -> ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
fn default() -> ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
source§impl PartialEq for ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
impl PartialEq for ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
source§fn eq(
&self,
other: &ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder
) -> bool
fn eq( &self, other: &ModifyTransitGatewayVpcAttachmentRequestOptionsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.