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