#[non_exhaustive]pub struct EnaSrdSpecificationRequestBuilder { /* private fields */ }
Expand description
A builder for EnaSrdSpecificationRequest
.
Implementations§
source§impl EnaSrdSpecificationRequestBuilder
impl EnaSrdSpecificationRequestBuilder
sourcepub fn ena_srd_enabled(self, input: bool) -> Self
pub fn ena_srd_enabled(self, input: bool) -> Self
Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.
sourcepub fn set_ena_srd_enabled(self, input: Option<bool>) -> Self
pub fn set_ena_srd_enabled(self, input: Option<bool>) -> Self
Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.
sourcepub fn get_ena_srd_enabled(&self) -> &Option<bool>
pub fn get_ena_srd_enabled(&self) -> &Option<bool>
Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.
sourcepub fn ena_srd_udp_specification(
self,
input: EnaSrdUdpSpecificationRequest,
) -> Self
pub fn ena_srd_udp_specification( self, input: EnaSrdUdpSpecificationRequest, ) -> Self
Contains ENA Express settings for UDP network traffic in your launch template.
sourcepub fn set_ena_srd_udp_specification(
self,
input: Option<EnaSrdUdpSpecificationRequest>,
) -> Self
pub fn set_ena_srd_udp_specification( self, input: Option<EnaSrdUdpSpecificationRequest>, ) -> Self
Contains ENA Express settings for UDP network traffic in your launch template.
sourcepub fn get_ena_srd_udp_specification(
&self,
) -> &Option<EnaSrdUdpSpecificationRequest>
pub fn get_ena_srd_udp_specification( &self, ) -> &Option<EnaSrdUdpSpecificationRequest>
Contains ENA Express settings for UDP network traffic in your launch template.
sourcepub fn build(self) -> EnaSrdSpecificationRequest
pub fn build(self) -> EnaSrdSpecificationRequest
Consumes the builder and constructs a EnaSrdSpecificationRequest
.
Trait Implementations§
source§impl Clone for EnaSrdSpecificationRequestBuilder
impl Clone for EnaSrdSpecificationRequestBuilder
source§fn clone(&self) -> EnaSrdSpecificationRequestBuilder
fn clone(&self) -> EnaSrdSpecificationRequestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for EnaSrdSpecificationRequestBuilder
impl Default for EnaSrdSpecificationRequestBuilder
source§fn default() -> EnaSrdSpecificationRequestBuilder
fn default() -> EnaSrdSpecificationRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EnaSrdSpecificationRequestBuilder
impl PartialEq for EnaSrdSpecificationRequestBuilder
source§fn eq(&self, other: &EnaSrdSpecificationRequestBuilder) -> bool
fn eq(&self, other: &EnaSrdSpecificationRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnaSrdSpecificationRequestBuilder
Auto Trait Implementations§
impl Freeze for EnaSrdSpecificationRequestBuilder
impl RefUnwindSafe for EnaSrdSpecificationRequestBuilder
impl Send for EnaSrdSpecificationRequestBuilder
impl Sync for EnaSrdSpecificationRequestBuilder
impl Unpin for EnaSrdSpecificationRequestBuilder
impl UnwindSafe for EnaSrdSpecificationRequestBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.