public class ReservedInstancesId
extends java.lang.Object
implements java.io.Serializable
Describes the ID of a Reserved Instance.
Constructor and Description |
---|
ReservedInstancesId() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getReservedInstancesId()
public void setReservedInstancesId(java.lang.String reservedInstancesId)
reservedInstancesId
- The ID of the Reserved Instance.public ReservedInstancesId withReservedInstancesId(java.lang.String reservedInstancesId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesId
- The ID of the Reserved Instance.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.