Struct aws_sdk_ec2::types::builders::FpgaDeviceInfoBuilder
source · #[non_exhaustive]pub struct FpgaDeviceInfoBuilder { /* private fields */ }
Expand description
A builder for FpgaDeviceInfo
.
Implementations§
source§impl FpgaDeviceInfoBuilder
impl FpgaDeviceInfoBuilder
sourcepub fn manufacturer(self, input: impl Into<String>) -> Self
pub fn manufacturer(self, input: impl Into<String>) -> Self
The manufacturer of the FPGA accelerator.
sourcepub fn set_manufacturer(self, input: Option<String>) -> Self
pub fn set_manufacturer(self, input: Option<String>) -> Self
The manufacturer of the FPGA accelerator.
sourcepub fn get_manufacturer(&self) -> &Option<String>
pub fn get_manufacturer(&self) -> &Option<String>
The manufacturer of the FPGA accelerator.
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The count of FPGA accelerators for the instance type.
sourcepub fn memory_info(self, input: FpgaDeviceMemoryInfo) -> Self
pub fn memory_info(self, input: FpgaDeviceMemoryInfo) -> Self
Describes the memory for the FPGA accelerator for the instance type.
sourcepub fn set_memory_info(self, input: Option<FpgaDeviceMemoryInfo>) -> Self
pub fn set_memory_info(self, input: Option<FpgaDeviceMemoryInfo>) -> Self
Describes the memory for the FPGA accelerator for the instance type.
sourcepub fn get_memory_info(&self) -> &Option<FpgaDeviceMemoryInfo>
pub fn get_memory_info(&self) -> &Option<FpgaDeviceMemoryInfo>
Describes the memory for the FPGA accelerator for the instance type.
sourcepub fn build(self) -> FpgaDeviceInfo
pub fn build(self) -> FpgaDeviceInfo
Consumes the builder and constructs a FpgaDeviceInfo
.
Trait Implementations§
source§impl Clone for FpgaDeviceInfoBuilder
impl Clone for FpgaDeviceInfoBuilder
source§fn clone(&self) -> FpgaDeviceInfoBuilder
fn clone(&self) -> FpgaDeviceInfoBuilder
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 FpgaDeviceInfoBuilder
impl Debug for FpgaDeviceInfoBuilder
source§impl Default for FpgaDeviceInfoBuilder
impl Default for FpgaDeviceInfoBuilder
source§fn default() -> FpgaDeviceInfoBuilder
fn default() -> FpgaDeviceInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FpgaDeviceInfoBuilder
impl PartialEq for FpgaDeviceInfoBuilder
source§fn eq(&self, other: &FpgaDeviceInfoBuilder) -> bool
fn eq(&self, other: &FpgaDeviceInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FpgaDeviceInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FpgaDeviceInfoBuilder
impl Send for FpgaDeviceInfoBuilder
impl Sync for FpgaDeviceInfoBuilder
impl Unpin for FpgaDeviceInfoBuilder
impl UnwindSafe for FpgaDeviceInfoBuilder
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>
Creates a shared type from an unshared type.