public class StopInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of StopInstances.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<InstanceStateChange> |
stoppingInstances
Information about one or more stopped instances.
|
Constructor and Description |
---|
StopInstancesResult() |
Modifier and Type | Method and Description |
---|---|
StopInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<InstanceStateChange> |
getStoppingInstances()
Information about one or more stopped instances.
|
int |
hashCode() |
void |
setStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopInstancesResult |
withStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
|
StopInstancesResult |
withStoppingInstances(InstanceStateChange... stoppingInstances)
Information about one or more stopped instances.
|
private SdkInternalList<InstanceStateChange> stoppingInstances
Information about one or more stopped instances.
public java.util.List<InstanceStateChange> getStoppingInstances()
Information about one or more stopped instances.
public void setStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
stoppingInstances
- Information about one or more stopped instances.public StopInstancesResult withStoppingInstances(InstanceStateChange... stoppingInstances)
Information about one or more stopped instances.
NOTE: This method appends the values to the existing list (if
any). Use setStoppingInstances(java.util.Collection)
or
withStoppingInstances(java.util.Collection)
if you want to
override the existing values.
stoppingInstances
- Information about one or more stopped instances.public StopInstancesResult withStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
stoppingInstances
- Information about one or more stopped 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 StopInstancesResult clone()
clone
in class java.lang.Object