@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InferenceAccelerator extends Object implements Serializable, Cloneable, StructuredPojo
Details on a Elastic Inference accelerator. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.
Constructor and Description |
---|
InferenceAccelerator() |
Modifier and Type | Method and Description |
---|---|
InferenceAccelerator |
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.
|
InferenceAccelerator |
withDeviceName(String deviceName)
The Elastic Inference accelerator device name.
|
InferenceAccelerator |
withDeviceType(String deviceType)
The Elastic Inference accelerator type to use.
|
public void setDeviceName(String deviceName)
The Elastic Inference accelerator device name. The deviceName
must also be referenced in a container
definition as a ResourceRequirement.
deviceName
- The Elastic Inference accelerator device name. The deviceName
must also be referenced in a
container definition as a ResourceRequirement.public String getDeviceName()
The Elastic Inference accelerator device name. The deviceName
must also be referenced in a container
definition as a ResourceRequirement.
deviceName
must also be referenced in a
container definition as a ResourceRequirement.public InferenceAccelerator withDeviceName(String deviceName)
The Elastic Inference accelerator device name. The deviceName
must also be referenced in a container
definition as a ResourceRequirement.
deviceName
- The Elastic Inference accelerator device name. The deviceName
must also be referenced in a
container definition as a ResourceRequirement.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 InferenceAccelerator 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 InferenceAccelerator clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.