Package com.amazonaws.services.ec2.model
Class DescribeReservedInstancesResult
java.lang.Object
com.amazonaws.services.ec2.model.DescribeReservedInstancesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output for DescribeReservedInstances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of Reserved Instances.int
hashCode()
void
setReservedInstances
(Collection<ReservedInstances> reservedInstances) A list of Reserved Instances.toString()
Returns a string representation of this object; useful for testing and debugging.withReservedInstances
(ReservedInstances... reservedInstances) A list of Reserved Instances.withReservedInstances
(Collection<ReservedInstances> reservedInstances) A list of Reserved Instances.
-
Constructor Details
-
DescribeReservedInstancesResult
public DescribeReservedInstancesResult()
-
-
Method Details
-
getReservedInstances
A list of Reserved Instances.
- Returns:
- A list of Reserved Instances.
-
setReservedInstances
A list of Reserved Instances.
- Parameters:
reservedInstances
- A list of Reserved Instances.
-
withReservedInstances
public DescribeReservedInstancesResult withReservedInstances(ReservedInstances... reservedInstances) A list of Reserved Instances.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstances(java.util.Collection)
orwithReservedInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
reservedInstances
- A list of Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedInstances
public DescribeReservedInstancesResult withReservedInstances(Collection<ReservedInstances> reservedInstances) A list of Reserved Instances.
- Parameters:
reservedInstances
- A list of Reserved Instances.- 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
-