Struct aws_sdk_ec2::types::builders::GpuInfoBuilder
source · #[non_exhaustive]pub struct GpuInfoBuilder { /* private fields */ }Expand description
A builder for GpuInfo.
Implementations§
source§impl GpuInfoBuilder
impl GpuInfoBuilder
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.
Trait Implementations§
source§impl Clone for GpuInfoBuilder
impl Clone for GpuInfoBuilder
source§fn clone(&self) -> GpuInfoBuilder
fn clone(&self) -> GpuInfoBuilder
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 GpuInfoBuilder
impl Debug for GpuInfoBuilder
source§impl Default for GpuInfoBuilder
impl Default for GpuInfoBuilder
source§fn default() -> GpuInfoBuilder
fn default() -> GpuInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GpuInfoBuilder> for GpuInfoBuilder
impl PartialEq<GpuInfoBuilder> for GpuInfoBuilder
source§fn eq(&self, other: &GpuInfoBuilder) -> bool
fn eq(&self, other: &GpuInfoBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.