Class StartInstancesResult

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

public class StartInstancesResult extends Object implements Serializable, Cloneable

Contains the output of StartInstances.

See Also:
  • Constructor Details

    • StartInstancesResult

      public StartInstancesResult()
  • Method Details

    • getStartingInstances

      public List<InstanceStateChange> getStartingInstances()

      Information about one or more started instances.

      Returns:
      Information about one or more started instances.
    • setStartingInstances

      public void setStartingInstances(Collection<InstanceStateChange> startingInstances)

      Information about one or more started instances.

      Parameters:
      startingInstances - Information about one or more started instances.
    • withStartingInstances

      public StartInstancesResult withStartingInstances(InstanceStateChange... startingInstances)

      Information about one or more started instances.

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

      Parameters:
      startingInstances - Information about one or more started instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withStartingInstances

      public StartInstancesResult withStartingInstances(Collection<InstanceStateChange> startingInstances)

      Information about one or more started instances.

      Parameters:
      startingInstances - Information about one or more started 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

      public StartInstancesResult clone()
      Overrides:
      clone in class Object