#[non_exhaustive]pub struct LaunchTemplateEnaSrdSpecificationBuilder { /* private fields */ }
Expand description
A builder for LaunchTemplateEnaSrdSpecification
.
Implementations§
source§impl LaunchTemplateEnaSrdSpecificationBuilder
impl LaunchTemplateEnaSrdSpecificationBuilder
sourcepub fn ena_srd_enabled(self, input: bool) -> Self
pub fn ena_srd_enabled(self, input: bool) -> Self
Indicates whether ENA Express is enabled for the network interface.
sourcepub fn set_ena_srd_enabled(self, input: Option<bool>) -> Self
pub fn set_ena_srd_enabled(self, input: Option<bool>) -> Self
Indicates whether ENA Express is enabled for the network interface.
sourcepub fn get_ena_srd_enabled(&self) -> &Option<bool>
pub fn get_ena_srd_enabled(&self) -> &Option<bool>
Indicates whether ENA Express is enabled for the network interface.
sourcepub fn ena_srd_udp_specification(
self,
input: LaunchTemplateEnaSrdUdpSpecification
) -> Self
pub fn ena_srd_udp_specification( self, input: LaunchTemplateEnaSrdUdpSpecification ) -> Self
Configures ENA Express for UDP network traffic.
sourcepub fn set_ena_srd_udp_specification(
self,
input: Option<LaunchTemplateEnaSrdUdpSpecification>
) -> Self
pub fn set_ena_srd_udp_specification( self, input: Option<LaunchTemplateEnaSrdUdpSpecification> ) -> Self
Configures ENA Express for UDP network traffic.
sourcepub fn get_ena_srd_udp_specification(
&self
) -> &Option<LaunchTemplateEnaSrdUdpSpecification>
pub fn get_ena_srd_udp_specification( &self ) -> &Option<LaunchTemplateEnaSrdUdpSpecification>
Configures ENA Express for UDP network traffic.
sourcepub fn build(self) -> LaunchTemplateEnaSrdSpecification
pub fn build(self) -> LaunchTemplateEnaSrdSpecification
Consumes the builder and constructs a LaunchTemplateEnaSrdSpecification
.
Trait Implementations§
source§impl Clone for LaunchTemplateEnaSrdSpecificationBuilder
impl Clone for LaunchTemplateEnaSrdSpecificationBuilder
source§fn clone(&self) -> LaunchTemplateEnaSrdSpecificationBuilder
fn clone(&self) -> LaunchTemplateEnaSrdSpecificationBuilder
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 LaunchTemplateEnaSrdSpecificationBuilder
impl Default for LaunchTemplateEnaSrdSpecificationBuilder
source§fn default() -> LaunchTemplateEnaSrdSpecificationBuilder
fn default() -> LaunchTemplateEnaSrdSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LaunchTemplateEnaSrdSpecificationBuilder
impl PartialEq for LaunchTemplateEnaSrdSpecificationBuilder
source§fn eq(&self, other: &LaunchTemplateEnaSrdSpecificationBuilder) -> bool
fn eq(&self, other: &LaunchTemplateEnaSrdSpecificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchTemplateEnaSrdSpecificationBuilder
Auto Trait Implementations§
impl Freeze for LaunchTemplateEnaSrdSpecificationBuilder
impl RefUnwindSafe for LaunchTemplateEnaSrdSpecificationBuilder
impl Send for LaunchTemplateEnaSrdSpecificationBuilder
impl Sync for LaunchTemplateEnaSrdSpecificationBuilder
impl Unpin for LaunchTemplateEnaSrdSpecificationBuilder
impl UnwindSafe for LaunchTemplateEnaSrdSpecificationBuilder
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.