Struct aws_sdk_ec2::model::create_transit_gateway_vpc_attachment_request_options::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateTransitGatewayVpcAttachmentRequestOptions
.
Implementations
sourceimpl Builder
impl Builder
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 ipv6_support(self, input: Ipv6SupportValue) -> Self
pub fn ipv6_support(self, input: Ipv6SupportValue) -> Self
Enable or disable IPv6 support. The default is disable
.
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 disable
.
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 build(self) -> CreateTransitGatewayVpcAttachmentRequestOptions
pub fn build(self) -> CreateTransitGatewayVpcAttachmentRequestOptions
Consumes the builder and constructs a CreateTransitGatewayVpcAttachmentRequestOptions
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more