@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceTypeCapacity extends Object implements Serializable, Cloneable, StructuredPojo
The instance type that you specify determines the combination of CPU, memory, storage, and networking capacity.
Constructor and Description |
---|
InstanceTypeCapacity() |
Modifier and Type | Method and Description |
---|---|
InstanceTypeCapacity |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of instances for the specified instance type.
|
String |
getInstanceType()
The instance type of the hosts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Integer count)
The number of instances for the specified instance type.
|
void |
setInstanceType(String instanceType)
The instance type of the hosts.
|
String |
toString()
Returns a string representation of this object.
|
InstanceTypeCapacity |
withCount(Integer count)
The number of instances for the specified instance type.
|
InstanceTypeCapacity |
withInstanceType(String instanceType)
The instance type of the hosts.
|
public void setInstanceType(String instanceType)
The instance type of the hosts.
instanceType
- The instance type of the hosts.public String getInstanceType()
The instance type of the hosts.
public InstanceTypeCapacity withInstanceType(String instanceType)
The instance type of the hosts.
instanceType
- The instance type of the hosts.public void setCount(Integer count)
The number of instances for the specified instance type.
count
- The number of instances for the specified instance type.public Integer getCount()
The number of instances for the specified instance type.
public InstanceTypeCapacity withCount(Integer count)
The number of instances for the specified instance type.
count
- The number of instances for the specified instance type.public String toString()
toString
in class Object
Object.toString()
public InstanceTypeCapacity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.