@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceTypeItem extends Object implements Serializable, Cloneable, StructuredPojo
Information about an instance type.
| Constructor and Description |
|---|
InstanceTypeItem() |
| Modifier and Type | Method and Description |
|---|---|
InstanceTypeItem |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceType() |
Integer |
getVCPUs()
The number of default VCPUs in an instance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInstanceType(String instanceType) |
void |
setVCPUs(Integer vCPUs)
The number of default VCPUs in an instance type.
|
String |
toString()
Returns a string representation of this object.
|
InstanceTypeItem |
withInstanceType(String instanceType) |
InstanceTypeItem |
withVCPUs(Integer vCPUs)
The number of default VCPUs in an instance type.
|
public void setInstanceType(String instanceType)
instanceType - public String getInstanceType()
public InstanceTypeItem withInstanceType(String instanceType)
instanceType - public void setVCPUs(Integer vCPUs)
The number of default VCPUs in an instance type.
vCPUs - The number of default VCPUs in an instance type.public Integer getVCPUs()
The number of default VCPUs in an instance type.
public InstanceTypeItem withVCPUs(Integer vCPUs)
The number of default VCPUs in an instance type.
vCPUs - The number of default VCPUs in an instance type.public String toString()
toString in class ObjectObject.toString()public InstanceTypeItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.