Struct aws_sdk_ec2::model::gpu_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GpuInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn gpus(self, input: GpuDeviceInfo) -> Self
pub fn gpus(self, input: GpuDeviceInfo) -> Self
Appends an item to gpus
.
To override the contents of this collection use set_gpus
.
Describes the GPU accelerators for the instance type.
sourcepub fn set_gpus(self, input: Option<Vec<GpuDeviceInfo>>) -> Self
pub fn set_gpus(self, input: Option<Vec<GpuDeviceInfo>>) -> Self
Describes the GPU accelerators for the instance type.
sourcepub fn total_gpu_memory_in_mi_b(self, input: i32) -> Self
pub fn total_gpu_memory_in_mi_b(self, input: i32) -> Self
The total size of the memory for the GPU accelerators for the instance type, in MiB.
sourcepub fn set_total_gpu_memory_in_mi_b(self, input: Option<i32>) -> Self
pub fn set_total_gpu_memory_in_mi_b(self, input: Option<i32>) -> Self
The total size of the memory for the GPU accelerators for the instance type, in MiB.