public class StopInstancesResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of StopInstances.
Constructor and Description |
---|
StopInstancesResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.util.List<InstanceStateChange> getStoppingInstances()
public void setStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
stoppingInstances
- Information about one or more stopped instances.public StopInstancesResult withStoppingInstances(InstanceStateChange... stoppingInstances)
Returns a reference to this object so that method calls can be chained together.
stoppingInstances
- Information about one or more stopped instances.public StopInstancesResult withStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
Returns a reference to this object so that method calls can be chained together.
stoppingInstances
- Information about one or more stopped instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.