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