#[non_exhaustive]pub struct EcsInferenceAcceleratorOverride {
pub device_name: Option<String>,
pub device_type: Option<String>,
}
Expand description
Details on an Elastic Inference accelerator task override. This parameter is used to override the Elastic Inference accelerator specified in the task definition. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.device_name: Option<String>
The Elastic Inference accelerator device name to override for the task. This parameter must match a deviceName
specified in the task definition.
device_type: Option<String>
The Elastic Inference accelerator type to use.
Implementations§
source§impl EcsInferenceAcceleratorOverride
impl EcsInferenceAcceleratorOverride
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The Elastic Inference accelerator device name to override for the task. This parameter must match a deviceName
specified in the task definition.
sourcepub fn device_type(&self) -> Option<&str>
pub fn device_type(&self) -> Option<&str>
The Elastic Inference accelerator type to use.
source§impl EcsInferenceAcceleratorOverride
impl EcsInferenceAcceleratorOverride
sourcepub fn builder() -> EcsInferenceAcceleratorOverrideBuilder
pub fn builder() -> EcsInferenceAcceleratorOverrideBuilder
Creates a new builder-style object to manufacture EcsInferenceAcceleratorOverride
.
Trait Implementations§
source§impl Clone for EcsInferenceAcceleratorOverride
impl Clone for EcsInferenceAcceleratorOverride
source§fn clone(&self) -> EcsInferenceAcceleratorOverride
fn clone(&self) -> EcsInferenceAcceleratorOverride
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for EcsInferenceAcceleratorOverride
impl PartialEq for EcsInferenceAcceleratorOverride
source§fn eq(&self, other: &EcsInferenceAcceleratorOverride) -> bool
fn eq(&self, other: &EcsInferenceAcceleratorOverride) -> bool
self
and other
values to be equal, and is used
by ==
.