public class ReservedInstancesId
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the ID of a Reserved Instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
reservedInstancesId
The ID of the Reserved Instance.
|
Constructor and Description |
---|
ReservedInstancesId() |
Modifier and Type | Method and Description |
---|---|
ReservedInstancesId |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getReservedInstancesId()
The ID of the Reserved Instance.
|
int |
hashCode() |
void |
setReservedInstancesId(java.lang.String reservedInstancesId)
The ID of the Reserved Instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedInstancesId |
withReservedInstancesId(java.lang.String reservedInstancesId)
The ID of the Reserved Instance.
|
private java.lang.String reservedInstancesId
The ID of the Reserved Instance.
public void setReservedInstancesId(java.lang.String reservedInstancesId)
The ID of the Reserved Instance.
reservedInstancesId
- The ID of the Reserved Instance.public java.lang.String getReservedInstancesId()
The ID of the Reserved Instance.
public ReservedInstancesId withReservedInstancesId(java.lang.String reservedInstancesId)
The ID of the Reserved Instance.
reservedInstancesId
- The ID of the Reserved Instance.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReservedInstancesId clone()
clone
in class java.lang.Object