@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateElasticInferenceAcceleratorResponse extends Object implements Serializable, Cloneable
Describes an elastic inference accelerator.
Constructor and Description |
---|
LaunchTemplateElasticInferenceAcceleratorResponse() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateElasticInferenceAcceleratorResponse |
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.
|
LaunchTemplateElasticInferenceAcceleratorResponse |
withCount(Integer count)
The number of elastic inference accelerators to attach to the instance.
|
LaunchTemplateElasticInferenceAcceleratorResponse |
withType(String type)
The type of elastic inference accelerator.
|
public LaunchTemplateElasticInferenceAcceleratorResponse()
public void setType(String type)
The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
type
- The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and
eia1.xlarge.public String getType()
The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
public LaunchTemplateElasticInferenceAcceleratorResponse withType(String type)
The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
type
- The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and
eia1.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 LaunchTemplateElasticInferenceAcceleratorResponse 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 Object
Object.toString()
public LaunchTemplateElasticInferenceAcceleratorResponse clone()