@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InferenceAcceleratorOverride 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 |
---|
InferenceAcceleratorOverride() |
Modifier and Type | Method and Description |
---|---|
InferenceAcceleratorOverride |
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.
|
InferenceAcceleratorOverride |
withDeviceName(String deviceName)
The Elastic Inference accelerator device name to override for the task.
|
InferenceAcceleratorOverride |
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 InferenceAcceleratorOverride 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 InferenceAcceleratorOverride 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 InferenceAcceleratorOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.