pub struct Builder { /* private fields */ }
Expand description
A builder for EcsInferenceAcceleratorOverride
.
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) -> EcsInferenceAcceleratorOverride
pub fn build(self) -> EcsInferenceAcceleratorOverride
Consumes the builder and constructs a EcsInferenceAcceleratorOverride
.