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