#[non_exhaustive]pub struct InstanceAttachmentEnaSrdSpecificationBuilder { /* private fields */ }Expand description
A builder for InstanceAttachmentEnaSrdSpecification.
Implementations§
source§impl InstanceAttachmentEnaSrdSpecificationBuilder
impl InstanceAttachmentEnaSrdSpecificationBuilder
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: InstanceAttachmentEnaSrdUdpSpecification,
) -> Self
pub fn ena_srd_udp_specification( self, input: InstanceAttachmentEnaSrdUdpSpecification, ) -> Self
Configures ENA Express for UDP network traffic.
sourcepub fn set_ena_srd_udp_specification(
self,
input: Option<InstanceAttachmentEnaSrdUdpSpecification>,
) -> Self
pub fn set_ena_srd_udp_specification( self, input: Option<InstanceAttachmentEnaSrdUdpSpecification>, ) -> Self
Configures ENA Express for UDP network traffic.
sourcepub fn get_ena_srd_udp_specification(
&self,
) -> &Option<InstanceAttachmentEnaSrdUdpSpecification>
pub fn get_ena_srd_udp_specification( &self, ) -> &Option<InstanceAttachmentEnaSrdUdpSpecification>
Configures ENA Express for UDP network traffic.
sourcepub fn build(self) -> InstanceAttachmentEnaSrdSpecification
pub fn build(self) -> InstanceAttachmentEnaSrdSpecification
Consumes the builder and constructs a InstanceAttachmentEnaSrdSpecification.
Trait Implementations§
source§impl Clone for InstanceAttachmentEnaSrdSpecificationBuilder
impl Clone for InstanceAttachmentEnaSrdSpecificationBuilder
source§fn clone(&self) -> InstanceAttachmentEnaSrdSpecificationBuilder
fn clone(&self) -> InstanceAttachmentEnaSrdSpecificationBuilder
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 InstanceAttachmentEnaSrdSpecificationBuilder
impl Default for InstanceAttachmentEnaSrdSpecificationBuilder
source§fn default() -> InstanceAttachmentEnaSrdSpecificationBuilder
fn default() -> InstanceAttachmentEnaSrdSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InstanceAttachmentEnaSrdSpecificationBuilder
impl PartialEq for InstanceAttachmentEnaSrdSpecificationBuilder
source§fn eq(&self, other: &InstanceAttachmentEnaSrdSpecificationBuilder) -> bool
fn eq(&self, other: &InstanceAttachmentEnaSrdSpecificationBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstanceAttachmentEnaSrdSpecificationBuilder
Auto Trait Implementations§
impl Freeze for InstanceAttachmentEnaSrdSpecificationBuilder
impl RefUnwindSafe for InstanceAttachmentEnaSrdSpecificationBuilder
impl Send for InstanceAttachmentEnaSrdSpecificationBuilder
impl Sync for InstanceAttachmentEnaSrdSpecificationBuilder
impl Unpin for InstanceAttachmentEnaSrdSpecificationBuilder
impl UnwindSafe for InstanceAttachmentEnaSrdSpecificationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.