@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2Capacity extends Object implements Serializable, Cloneable, StructuredPojo
Information about EC2 capacity.
Constructor and Description |
---|
EC2Capacity() |
Modifier and Type | Method and Description |
---|---|
EC2Capacity |
clone() |
boolean |
equals(Object obj) |
String |
getFamily()
The family of the EC2 capacity.
|
String |
getMaxSize()
The maximum size of the EC2 capacity.
|
String |
getQuantity()
The quantity of the EC2 capacity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFamily(String family)
The family of the EC2 capacity.
|
void |
setMaxSize(String maxSize)
The maximum size of the EC2 capacity.
|
void |
setQuantity(String quantity)
The quantity of the EC2 capacity.
|
String |
toString()
Returns a string representation of this object.
|
EC2Capacity |
withFamily(String family)
The family of the EC2 capacity.
|
EC2Capacity |
withMaxSize(String maxSize)
The maximum size of the EC2 capacity.
|
EC2Capacity |
withQuantity(String quantity)
The quantity of the EC2 capacity.
|
public void setFamily(String family)
The family of the EC2 capacity.
family
- The family of the EC2 capacity.public String getFamily()
The family of the EC2 capacity.
public EC2Capacity withFamily(String family)
The family of the EC2 capacity.
family
- The family of the EC2 capacity.public void setMaxSize(String maxSize)
The maximum size of the EC2 capacity.
maxSize
- The maximum size of the EC2 capacity.public String getMaxSize()
The maximum size of the EC2 capacity.
public EC2Capacity withMaxSize(String maxSize)
The maximum size of the EC2 capacity.
maxSize
- The maximum size of the EC2 capacity.public void setQuantity(String quantity)
The quantity of the EC2 capacity.
quantity
- The quantity of the EC2 capacity.public String getQuantity()
The quantity of the EC2 capacity.
public EC2Capacity withQuantity(String quantity)
The quantity of the EC2 capacity.
quantity
- The quantity of the EC2 capacity.public String toString()
toString
in class Object
Object.toString()
public EC2Capacity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.