Package com.amazonaws.services.ec2.model
Class InstanceCount
java.lang.Object
com.amazonaws.services.ec2.model.InstanceCount
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a Reserved Instance listing state.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The number of listed Reserved Instances in the state specified by thestate
.getState()
The states of the listed Reserved Instances.int
hashCode()
void
setInstanceCount
(Integer instanceCount) The number of listed Reserved Instances in the state specified by thestate
.void
setState
(ListingState state) The states of the listed Reserved Instances.void
The states of the listed Reserved Instances.toString()
Returns a string representation of this object; useful for testing and debugging.withInstanceCount
(Integer instanceCount) The number of listed Reserved Instances in the state specified by thestate
.withState
(ListingState state) The states of the listed Reserved Instances.The states of the listed Reserved Instances.
-
Constructor Details
-
InstanceCount
public InstanceCount()
-
-
Method Details
-
setState
The states of the listed Reserved Instances.
- Parameters:
state
- The states of the listed Reserved Instances.- See Also:
-
getState
The states of the listed Reserved Instances.
- Returns:
- The states of the listed Reserved Instances.
- See Also:
-
withState
The states of the listed Reserved Instances.
- Parameters:
state
- The states of the listed Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The states of the listed Reserved Instances.
- Parameters:
state
- The states of the listed Reserved Instances.- See Also:
-
withState
The states of the listed Reserved Instances.
- Parameters:
state
- The states of the listed Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setInstanceCount
The number of listed Reserved Instances in the state specified by the
state
.- Parameters:
instanceCount
- The number of listed Reserved Instances in the state specified by thestate
.
-
getInstanceCount
The number of listed Reserved Instances in the state specified by the
state
.- Returns:
- The number of listed Reserved Instances in the state specified by
the
state
.
-
withInstanceCount
The number of listed Reserved Instances in the state specified by the
state
.- Parameters:
instanceCount
- The number of listed Reserved Instances in the state specified by thestate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-