Class PurchaseScheduledInstancesResult

java.lang.Object
com.amazonaws.services.ec2.model.PurchaseScheduledInstancesResult
All Implemented Interfaces:
Serializable, Cloneable

public class PurchaseScheduledInstancesResult extends Object implements Serializable, Cloneable

Contains the output of PurchaseScheduledInstances.

See Also:
  • Constructor Details

    • PurchaseScheduledInstancesResult

      public PurchaseScheduledInstancesResult()
  • Method Details

    • getScheduledInstanceSet

      public List<ScheduledInstance> getScheduledInstanceSet()

      Information about the Scheduled Instances.

      Returns:
      Information about the Scheduled Instances.
    • setScheduledInstanceSet

      public void setScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)

      Information about the Scheduled Instances.

      Parameters:
      scheduledInstanceSet - Information about the Scheduled Instances.
    • withScheduledInstanceSet

      public PurchaseScheduledInstancesResult withScheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)

      Information about the Scheduled Instances.

      NOTE: This method appends the values to the existing list (if any). Use setScheduledInstanceSet(java.util.Collection) or withScheduledInstanceSet(java.util.Collection) if you want to override the existing values.

      Parameters:
      scheduledInstanceSet - Information about the Scheduled Instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withScheduledInstanceSet

      public PurchaseScheduledInstancesResult withScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)

      Information about the Scheduled Instances.

      Parameters:
      scheduledInstanceSet - Information about the Scheduled 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