Struct aws_sdk_ec2::model::fpga_device_info::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for FpgaDeviceInfo
.
Implementations
sourceimpl Builder
impl Builder
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 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 build(self) -> FpgaDeviceInfo
pub fn build(self) -> FpgaDeviceInfo
Consumes the builder and constructs a FpgaDeviceInfo
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more