@Stability(value=Stable) public static final class CfnTaskDefinition.InferenceAcceleratorProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskDefinition.InferenceAcceleratorProperty>
CfnTaskDefinition.InferenceAcceleratorProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTaskDefinition.InferenceAcceleratorProperty |
build()
Builds the configured instance.
|
CfnTaskDefinition.InferenceAcceleratorProperty.Builder |
deviceName(String deviceName)
Sets the value of
CfnTaskDefinition.InferenceAcceleratorProperty.getDeviceName() |
CfnTaskDefinition.InferenceAcceleratorProperty.Builder |
deviceType(String deviceType)
Sets the value of
CfnTaskDefinition.InferenceAcceleratorProperty.getDeviceType() |
@Stability(value=Stable) public CfnTaskDefinition.InferenceAcceleratorProperty.Builder deviceName(String deviceName)
CfnTaskDefinition.InferenceAcceleratorProperty.getDeviceName()deviceName - The Elastic Inference accelerator device name.
The deviceName must also be referenced in a container definition as a ResourceRequirement .this@Stability(value=Stable) public CfnTaskDefinition.InferenceAcceleratorProperty.Builder deviceType(String deviceType)
CfnTaskDefinition.InferenceAcceleratorProperty.getDeviceType()deviceType - The Elastic Inference accelerator type to use.this@Stability(value=Stable) public CfnTaskDefinition.InferenceAcceleratorProperty build()
build in interface software.amazon.jsii.Builder<CfnTaskDefinition.InferenceAcceleratorProperty>CfnTaskDefinition.InferenceAcceleratorPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.