Struct aws_sdk_ec2::types::builders::FpgaInfoBuilder
source · #[non_exhaustive]pub struct FpgaInfoBuilder { /* private fields */ }
Expand description
A builder for FpgaInfo
.
Implementations§
source§impl FpgaInfoBuilder
impl FpgaInfoBuilder
sourcepub fn fpgas(self, input: FpgaDeviceInfo) -> Self
pub fn fpgas(self, input: FpgaDeviceInfo) -> Self
Appends an item to fpgas
.
To override the contents of this collection use set_fpgas
.
Describes the FPGAs for the instance type.
sourcepub fn set_fpgas(self, input: Option<Vec<FpgaDeviceInfo>>) -> Self
pub fn set_fpgas(self, input: Option<Vec<FpgaDeviceInfo>>) -> Self
Describes the FPGAs for the instance type.
sourcepub fn get_fpgas(&self) -> &Option<Vec<FpgaDeviceInfo>>
pub fn get_fpgas(&self) -> &Option<Vec<FpgaDeviceInfo>>
Describes the FPGAs for the instance type.
sourcepub fn total_fpga_memory_in_mib(self, input: i32) -> Self
pub fn total_fpga_memory_in_mib(self, input: i32) -> Self
The total memory of all FPGA accelerators for the instance type.
sourcepub fn set_total_fpga_memory_in_mib(self, input: Option<i32>) -> Self
pub fn set_total_fpga_memory_in_mib(self, input: Option<i32>) -> Self
The total memory of all FPGA accelerators for the instance type.
sourcepub fn get_total_fpga_memory_in_mib(&self) -> &Option<i32>
pub fn get_total_fpga_memory_in_mib(&self) -> &Option<i32>
The total memory of all FPGA accelerators for the instance type.
Trait Implementations§
source§impl Clone for FpgaInfoBuilder
impl Clone for FpgaInfoBuilder
source§fn clone(&self) -> FpgaInfoBuilder
fn clone(&self) -> FpgaInfoBuilder
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 FpgaInfoBuilder
impl Debug for FpgaInfoBuilder
source§impl Default for FpgaInfoBuilder
impl Default for FpgaInfoBuilder
source§fn default() -> FpgaInfoBuilder
fn default() -> FpgaInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FpgaInfoBuilder
impl PartialEq for FpgaInfoBuilder
source§fn eq(&self, other: &FpgaInfoBuilder) -> bool
fn eq(&self, other: &FpgaInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FpgaInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FpgaInfoBuilder
impl Send for FpgaInfoBuilder
impl Sync for FpgaInfoBuilder
impl Unpin for FpgaInfoBuilder
impl UnwindSafe for FpgaInfoBuilder
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.