#[non_exhaustive]pub struct TransitGatewayVpcAttachmentOptionsBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayVpcAttachmentOptions
.
Implementations§
source§impl TransitGatewayVpcAttachmentOptionsBuilder
impl TransitGatewayVpcAttachmentOptionsBuilder
sourcepub fn dns_support(self, input: DnsSupportValue) -> Self
pub fn dns_support(self, input: DnsSupportValue) -> Self
Indicates whether DNS support is enabled.
sourcepub fn set_dns_support(self, input: Option<DnsSupportValue>) -> Self
pub fn set_dns_support(self, input: Option<DnsSupportValue>) -> Self
Indicates whether DNS support is enabled.
sourcepub fn get_dns_support(&self) -> &Option<DnsSupportValue>
pub fn get_dns_support(&self) -> &Option<DnsSupportValue>
Indicates whether DNS support is enabled.
sourcepub fn security_group_referencing_support(
self,
input: SecurityGroupReferencingSupportValue,
) -> Self
pub fn security_group_referencing_support( self, input: SecurityGroupReferencingSupportValue, ) -> Self
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. 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.
sourcepub fn set_security_group_referencing_support(
self,
input: Option<SecurityGroupReferencingSupportValue>,
) -> Self
pub fn set_security_group_referencing_support( self, input: Option<SecurityGroupReferencingSupportValue>, ) -> Self
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. 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.
sourcepub fn get_security_group_referencing_support(
&self,
) -> &Option<SecurityGroupReferencingSupportValue>
pub fn get_security_group_referencing_support( &self, ) -> &Option<SecurityGroupReferencingSupportValue>
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. 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.
sourcepub fn ipv6_support(self, input: Ipv6SupportValue) -> Self
pub fn ipv6_support(self, input: Ipv6SupportValue) -> Self
Indicates whether IPv6 support is disabled.
sourcepub fn set_ipv6_support(self, input: Option<Ipv6SupportValue>) -> Self
pub fn set_ipv6_support(self, input: Option<Ipv6SupportValue>) -> Self
Indicates whether IPv6 support is disabled.
sourcepub fn get_ipv6_support(&self) -> &Option<Ipv6SupportValue>
pub fn get_ipv6_support(&self) -> &Option<Ipv6SupportValue>
Indicates whether IPv6 support is disabled.
sourcepub fn appliance_mode_support(self, input: ApplianceModeSupportValue) -> Self
pub fn appliance_mode_support(self, input: ApplianceModeSupportValue) -> Self
Indicates whether appliance mode support is enabled.
sourcepub fn set_appliance_mode_support(
self,
input: Option<ApplianceModeSupportValue>,
) -> Self
pub fn set_appliance_mode_support( self, input: Option<ApplianceModeSupportValue>, ) -> Self
Indicates whether appliance mode support is enabled.
sourcepub fn get_appliance_mode_support(&self) -> &Option<ApplianceModeSupportValue>
pub fn get_appliance_mode_support(&self) -> &Option<ApplianceModeSupportValue>
Indicates whether appliance mode support is enabled.
sourcepub fn build(self) -> TransitGatewayVpcAttachmentOptions
pub fn build(self) -> TransitGatewayVpcAttachmentOptions
Consumes the builder and constructs a TransitGatewayVpcAttachmentOptions
.
Trait Implementations§
source§impl Clone for TransitGatewayVpcAttachmentOptionsBuilder
impl Clone for TransitGatewayVpcAttachmentOptionsBuilder
source§fn clone(&self) -> TransitGatewayVpcAttachmentOptionsBuilder
fn clone(&self) -> TransitGatewayVpcAttachmentOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayVpcAttachmentOptionsBuilder
impl Default for TransitGatewayVpcAttachmentOptionsBuilder
source§fn default() -> TransitGatewayVpcAttachmentOptionsBuilder
fn default() -> TransitGatewayVpcAttachmentOptionsBuilder
source§impl PartialEq for TransitGatewayVpcAttachmentOptionsBuilder
impl PartialEq for TransitGatewayVpcAttachmentOptionsBuilder
source§fn eq(&self, other: &TransitGatewayVpcAttachmentOptionsBuilder) -> bool
fn eq(&self, other: &TransitGatewayVpcAttachmentOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayVpcAttachmentOptionsBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayVpcAttachmentOptionsBuilder
impl RefUnwindSafe for TransitGatewayVpcAttachmentOptionsBuilder
impl Send for TransitGatewayVpcAttachmentOptionsBuilder
impl Sync for TransitGatewayVpcAttachmentOptionsBuilder
impl Unpin for TransitGatewayVpcAttachmentOptionsBuilder
impl UnwindSafe for TransitGatewayVpcAttachmentOptionsBuilder
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