Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StartInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartInstancesResult
clone()
boolean
equals(Object obj)
List<InstanceStateChange>
getStartingInstances()
Information about one or more started instances.int
hashCode()
void
setStartingInstances(Collection<InstanceStateChange> startingInstances)
Information about one or more started instances.String
toString()
Returns a string representation of this object; useful for testing and debugging.StartInstancesResult
withStartingInstances(InstanceStateChange... startingInstances)
Information about one or more started instances.StartInstancesResult
withStartingInstances(Collection<InstanceStateChange> startingInstances)
Information about one or more started instances.
-
-
-
Method Detail
-
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)
orwithStartingInstances(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StartInstancesResult clone()
-
-