@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticInferenceAccelerator extends Object implements Serializable, Cloneable
Describes an elastic inference accelerator.
| Constructor and Description |
|---|
ElasticInferenceAccelerator() |
| Modifier and Type | Method and Description |
|---|---|
ElasticInferenceAccelerator |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of elastic inference accelerators to attach to the instance.
|
String |
getType()
The type of elastic inference accelerator.
|
int |
hashCode() |
void |
setCount(Integer count)
The number of elastic inference accelerators to attach to the instance.
|
void |
setType(String type)
The type of elastic inference accelerator.
|
String |
toString()
Returns a string representation of this object.
|
ElasticInferenceAccelerator |
withCount(Integer count)
The number of elastic inference accelerators to attach to the instance.
|
ElasticInferenceAccelerator |
withType(String type)
The type of elastic inference accelerator.
|
public void setType(String type)
The type of elastic inference accelerator. The possible values are eia1.medium,
eia1.large, eia1.xlarge, eia2.medium, eia2.large, and
eia2.xlarge.
type - The type of elastic inference accelerator. The possible values are eia1.medium,
eia1.large, eia1.xlarge, eia2.medium, eia2.large, and
eia2.xlarge.public String getType()
The type of elastic inference accelerator. The possible values are eia1.medium,
eia1.large, eia1.xlarge, eia2.medium, eia2.large, and
eia2.xlarge.
eia1.medium,
eia1.large, eia1.xlarge, eia2.medium, eia2.large, and
eia2.xlarge.public ElasticInferenceAccelerator withType(String type)
The type of elastic inference accelerator. The possible values are eia1.medium,
eia1.large, eia1.xlarge, eia2.medium, eia2.large, and
eia2.xlarge.
type - The type of elastic inference accelerator. The possible values are eia1.medium,
eia1.large, eia1.xlarge, eia2.medium, eia2.large, and
eia2.xlarge.public void setCount(Integer count)
The number of elastic inference accelerators to attach to the instance.
Default: 1
count - The number of elastic inference accelerators to attach to the instance.
Default: 1
public Integer getCount()
The number of elastic inference accelerators to attach to the instance.
Default: 1
Default: 1
public ElasticInferenceAccelerator withCount(Integer count)
The number of elastic inference accelerators to attach to the instance.
Default: 1
count - The number of elastic inference accelerators to attach to the instance.
Default: 1
public String toString()
toString in class ObjectObject.toString()public ElasticInferenceAccelerator clone()