Package com.amazonaws.services.ec2.model
Class PurchaseReservedInstancesOfferingResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.PurchaseReservedInstancesOfferingResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PurchaseReservedInstancesOfferingResult extends Object implements Serializable, Cloneable
Contains the output of PurchaseReservedInstancesOffering.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PurchaseReservedInstancesOfferingResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurchaseReservedInstancesOfferingResult
clone()
boolean
equals(Object obj)
String
getReservedInstancesId()
The IDs of the purchased Reserved Instances.int
hashCode()
void
setReservedInstancesId(String reservedInstancesId)
The IDs of the purchased Reserved Instances.String
toString()
Returns a string representation of this object; useful for testing and debugging.PurchaseReservedInstancesOfferingResult
withReservedInstancesId(String reservedInstancesId)
The IDs of the purchased Reserved Instances.
-
-
-
Method Detail
-
setReservedInstancesId
public void setReservedInstancesId(String reservedInstancesId)
The IDs of the purchased Reserved Instances.
- Parameters:
reservedInstancesId
- The IDs of the purchased Reserved Instances.
-
getReservedInstancesId
public String getReservedInstancesId()
The IDs of the purchased Reserved Instances.
- Returns:
- The IDs of the purchased Reserved Instances.
-
withReservedInstancesId
public PurchaseReservedInstancesOfferingResult withReservedInstancesId(String reservedInstancesId)
The IDs of the purchased Reserved Instances.
- Parameters:
reservedInstancesId
- The IDs of the purchased Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PurchaseReservedInstancesOfferingResult clone()
-
-