Struct aws_sdk_ec2::model::gpu_device_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GpuDeviceInfo
.
Implementations§
source§impl 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 GPU accelerator.
sourcepub fn set_manufacturer(self, input: Option<String>) -> Self
pub fn set_manufacturer(self, input: Option<String>) -> Self
The manufacturer of the GPU accelerator.
sourcepub fn memory_info(self, input: GpuDeviceMemoryInfo) -> Self
pub fn memory_info(self, input: GpuDeviceMemoryInfo) -> Self
Describes the memory available to the GPU accelerator.
sourcepub fn set_memory_info(self, input: Option<GpuDeviceMemoryInfo>) -> Self
pub fn set_memory_info(self, input: Option<GpuDeviceMemoryInfo>) -> Self
Describes the memory available to the GPU accelerator.
sourcepub fn build(self) -> GpuDeviceInfo
pub fn build(self) -> GpuDeviceInfo
Consumes the builder and constructs a GpuDeviceInfo
.