#[non_exhaustive]pub struct EnaSrdUdpSpecificationRequestBuilder { /* private fields */ }
Expand description
A builder for EnaSrdUdpSpecificationRequest
.
Implementations§
source§impl EnaSrdUdpSpecificationRequestBuilder
impl EnaSrdUdpSpecificationRequestBuilder
sourcepub fn ena_srd_udp_enabled(self, input: bool) -> Self
pub fn ena_srd_udp_enabled(self, input: bool) -> Self
Indicates whether UDP traffic uses ENA Express for your instance. To ensure that UDP traffic can use ENA Express when you launch an instance, you must also set EnaSrdEnabled in the EnaSrdSpecificationRequest to true
in your launch template.
sourcepub fn set_ena_srd_udp_enabled(self, input: Option<bool>) -> Self
pub fn set_ena_srd_udp_enabled(self, input: Option<bool>) -> Self
Indicates whether UDP traffic uses ENA Express for your instance. To ensure that UDP traffic can use ENA Express when you launch an instance, you must also set EnaSrdEnabled in the EnaSrdSpecificationRequest to true
in your launch template.
sourcepub fn get_ena_srd_udp_enabled(&self) -> &Option<bool>
pub fn get_ena_srd_udp_enabled(&self) -> &Option<bool>
Indicates whether UDP traffic uses ENA Express for your instance. To ensure that UDP traffic can use ENA Express when you launch an instance, you must also set EnaSrdEnabled in the EnaSrdSpecificationRequest to true
in your launch template.
sourcepub fn build(self) -> EnaSrdUdpSpecificationRequest
pub fn build(self) -> EnaSrdUdpSpecificationRequest
Consumes the builder and constructs a EnaSrdUdpSpecificationRequest
.
Trait Implementations§
source§impl Clone for EnaSrdUdpSpecificationRequestBuilder
impl Clone for EnaSrdUdpSpecificationRequestBuilder
source§fn clone(&self) -> EnaSrdUdpSpecificationRequestBuilder
fn clone(&self) -> EnaSrdUdpSpecificationRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EnaSrdUdpSpecificationRequestBuilder
impl Default for EnaSrdUdpSpecificationRequestBuilder
source§fn default() -> EnaSrdUdpSpecificationRequestBuilder
fn default() -> EnaSrdUdpSpecificationRequestBuilder
source§impl PartialEq for EnaSrdUdpSpecificationRequestBuilder
impl PartialEq for EnaSrdUdpSpecificationRequestBuilder
source§fn eq(&self, other: &EnaSrdUdpSpecificationRequestBuilder) -> bool
fn eq(&self, other: &EnaSrdUdpSpecificationRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnaSrdUdpSpecificationRequestBuilder
Auto Trait Implementations§
impl Freeze for EnaSrdUdpSpecificationRequestBuilder
impl RefUnwindSafe for EnaSrdUdpSpecificationRequestBuilder
impl Send for EnaSrdUdpSpecificationRequestBuilder
impl Sync for EnaSrdUdpSpecificationRequestBuilder
impl Unpin for EnaSrdUdpSpecificationRequestBuilder
impl UnwindSafe for EnaSrdUdpSpecificationRequestBuilder
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