@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcsInferenceAcceleratorOverride extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
EcsInferenceAcceleratorOverride() |
Modifier and Type | Method and Description |
---|---|
EcsInferenceAcceleratorOverride |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceName()
The Elastic Inference accelerator device name to override for the task.
|
String |
getDeviceType()
The Elastic Inference accelerator type to use.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceName(String deviceName)
The Elastic Inference accelerator device name to override for the task.
|
void |
setDeviceType(String deviceType)
The Elastic Inference accelerator type to use.
|
String |
toString()
Returns a string representation of this object.
|
EcsInferenceAcceleratorOverride |
withDeviceName(String deviceName)
The Elastic Inference accelerator device name to override for the task.
|
EcsInferenceAcceleratorOverride |
withDeviceType(String deviceType)
The Elastic Inference accelerator type to use.
|
public void setDeviceName(String deviceName)
The Elastic Inference accelerator device name to override for the task. This parameter must match a
deviceName
specified in the task definition.
deviceName
- The Elastic Inference accelerator device name to override for the task. This parameter must match a
deviceName
specified in the task definition.public String getDeviceName()
The Elastic Inference accelerator device name to override for the task. This parameter must match a
deviceName
specified in the task definition.
deviceName
specified in the task definition.public EcsInferenceAcceleratorOverride withDeviceName(String deviceName)
The Elastic Inference accelerator device name to override for the task. This parameter must match a
deviceName
specified in the task definition.
deviceName
- The Elastic Inference accelerator device name to override for the task. This parameter must match a
deviceName
specified in the task definition.public void setDeviceType(String deviceType)
The Elastic Inference accelerator type to use.
deviceType
- The Elastic Inference accelerator type to use.public String getDeviceType()
The Elastic Inference accelerator type to use.
public EcsInferenceAcceleratorOverride withDeviceType(String deviceType)
The Elastic Inference accelerator type to use.
deviceType
- The Elastic Inference accelerator type to use.public String toString()
toString
in class Object
Object.toString()
public EcsInferenceAcceleratorOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.