Struct aws_sdk_ecs::model::inference_accelerator_override::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for InferenceAcceleratorOverride.
Implementations§
source§impl Builder
impl Builder
sourcepub fn device_name(self, input: impl Into<String>) -> Self
pub fn device_name(self, input: impl Into<String>) -> Self
The Elastic Inference accelerator device name to override for the task. This parameter must match a deviceName specified in the task definition.
sourcepub fn set_device_name(self, input: Option<String>) -> Self
pub fn set_device_name(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn device_type(self, input: impl Into<String>) -> Self
The Elastic Inference accelerator type to use.
sourcepub fn set_device_type(self, input: Option<String>) -> Self
pub fn set_device_type(self, input: Option<String>) -> Self
The Elastic Inference accelerator type to use.
sourcepub fn build(self) -> InferenceAcceleratorOverride
pub fn build(self) -> InferenceAcceleratorOverride
Consumes the builder and constructs a InferenceAcceleratorOverride.