public class StartInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of StartInstances.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<InstanceStateChange> |
startingInstances
Information about one or more started instances.
|
Constructor and Description |
---|
StartInstancesResult() |
Modifier and Type | Method and Description |
---|---|
StartInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<InstanceStateChange> |
getStartingInstances()
Information about one or more started instances.
|
int |
hashCode() |
void |
setStartingInstances(java.util.Collection<InstanceStateChange> startingInstances)
Information about one or more started instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartInstancesResult |
withStartingInstances(java.util.Collection<InstanceStateChange> startingInstances)
Information about one or more started instances.
|
StartInstancesResult |
withStartingInstances(InstanceStateChange... startingInstances)
Information about one or more started instances.
|
private SdkInternalList<InstanceStateChange> startingInstances
Information about one or more started instances.
public java.util.List<InstanceStateChange> getStartingInstances()
Information about one or more started instances.
public void setStartingInstances(java.util.Collection<InstanceStateChange> startingInstances)
Information about one or more started instances.
startingInstances
- Information about one or more started instances.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.
startingInstances
- Information about one or more started instances.public StartInstancesResult withStartingInstances(java.util.Collection<InstanceStateChange> startingInstances)
Information about one or more started instances.
startingInstances
- Information about one or more started instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StartInstancesResult clone()
clone
in class java.lang.Object