@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides details for an Amazon Elastic Inference accelerator.
| Constructor and Description |
|---|
AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails |
withCount(Integer count)
The number of Elastic Inference accelerators to attach to the instance.
|
AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails |
withType(String type)
The type of Elastic Inference accelerator.
|
public AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails()
public void setCount(Integer count)
The number of Elastic Inference accelerators to attach to the instance.
count - The number of Elastic Inference accelerators to attach to the instance.public Integer getCount()
The number of Elastic Inference accelerators to attach to the instance.
public AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails withCount(Integer count)
The number of Elastic Inference accelerators to attach to the instance.
count - The number of Elastic Inference accelerators to attach to the instance.public void setType(String type)
The type of Elastic Inference accelerator.
type - The type of Elastic Inference accelerator.public String getType()
The type of Elastic Inference accelerator.
public AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails withType(String type)
The type of Elastic Inference accelerator.
type - The type of Elastic Inference accelerator.public String toString()
toString in class ObjectObject.toString()public AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.