Package com.amazonaws.services.ec2.model
Class ReservedInstancesId
java.lang.Object
com.amazonaws.services.ec2.model.ReservedInstancesId
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the ID of a Reserved Instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the Reserved Instance.int
hashCode()
void
setReservedInstancesId
(String reservedInstancesId) The ID of the Reserved Instance.toString()
Returns a string representation of this object; useful for testing and debugging.withReservedInstancesId
(String reservedInstancesId) The ID of the Reserved Instance.
-
Constructor Details
-
ReservedInstancesId
public ReservedInstancesId()
-
-
Method Details
-
setReservedInstancesId
The ID of the Reserved Instance.
- Parameters:
reservedInstancesId
- The ID of the Reserved Instance.
-
getReservedInstancesId
The ID of the Reserved Instance.
- Returns:
- The ID of the Reserved Instance.
-
withReservedInstancesId
The ID of the Reserved Instance.
- Parameters:
reservedInstancesId
- The ID of the Reserved Instance.- 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
-