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:
  • Constructor Details

    • PurchaseReservedInstancesOfferingResult

      public PurchaseReservedInstancesOfferingResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object