|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceCount
public class InstanceCount
Describes a Reserved Instance listing state.
| Constructor Summary | |
|---|---|
InstanceCount()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getInstanceCount()
he number of listed Reserved Instances in the state specified by the state. |
java.lang.String |
getState()
The states of the listed Reserved Instances. |
int |
hashCode()
|
void |
setInstanceCount(java.lang.Integer instanceCount)
he number of listed Reserved Instances in the state specified by the state. |
void |
setState(ListingState state)
The states of the listed Reserved Instances. |
void |
setState(java.lang.String state)
The states of the listed Reserved Instances. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceCount |
withInstanceCount(java.lang.Integer instanceCount)
he number of listed Reserved Instances in the state specified by the state. |
InstanceCount |
withState(ListingState state)
The states of the listed Reserved Instances. |
InstanceCount |
withState(java.lang.String state)
The states of the listed Reserved Instances. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceCount()
| Method Detail |
|---|
public java.lang.String getState()
Constraints:
Allowed Values: available, sold, cancelled, pending
ListingStatepublic void setState(java.lang.String state)
Constraints:
Allowed Values: available, sold, cancelled, pending
state - The states of the listed Reserved Instances.ListingStatepublic InstanceCount withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: available, sold, cancelled, pending
state - The states of the listed Reserved Instances.
ListingStatepublic void setState(ListingState state)
Constraints:
Allowed Values: available, sold, cancelled, pending
state - The states of the listed Reserved Instances.ListingStatepublic InstanceCount withState(ListingState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: available, sold, cancelled, pending
state - The states of the listed Reserved Instances.
ListingStatepublic java.lang.Integer getInstanceCount()
state.
state.public void setInstanceCount(java.lang.Integer instanceCount)
state.
instanceCount - he number of listed Reserved Instances in the state specified by the
state.public InstanceCount withInstanceCount(java.lang.Integer instanceCount)
state.
Returns a reference to this object so that method calls can be chained together.
instanceCount - he number of listed Reserved Instances in the state specified by the
state.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||