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