public class DescribeReservedInstancesResult
extends java.lang.Object
implements java.io.Serializable
Contains the output for DescribeReservedInstances.
Constructor and Description |
---|
DescribeReservedInstancesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<ReservedInstances> |
getReservedInstances()
A list of Reserved Instances.
|
int |
hashCode() |
void |
setReservedInstances(java.util.Collection<ReservedInstances> reservedInstances)
A list of Reserved Instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesResult |
withReservedInstances(java.util.Collection<ReservedInstances> reservedInstances)
A list of Reserved Instances.
|
DescribeReservedInstancesResult |
withReservedInstances(ReservedInstances... reservedInstances)
A list of Reserved Instances.
|
public java.util.List<ReservedInstances> getReservedInstances()
public void setReservedInstances(java.util.Collection<ReservedInstances> reservedInstances)
reservedInstances
- A list of Reserved Instances.public DescribeReservedInstancesResult withReservedInstances(ReservedInstances... reservedInstances)
Returns a reference to this object so that method calls can be chained together.
reservedInstances
- A list of Reserved Instances.public DescribeReservedInstancesResult withReservedInstances(java.util.Collection<ReservedInstances> reservedInstances)
Returns a reference to this object so that method calls can be chained together.
reservedInstances
- A list of Reserved Instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.