@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
StopInstancesResult() |
Modifier and Type | Method and Description |
---|---|
StopInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceStateChange> |
getStoppingInstances()
Information about the stopped instances.
|
int |
hashCode() |
void |
setStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about the stopped instances.
|
String |
toString()
Returns a string representation of this object.
|
StopInstancesResult |
withStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about the stopped instances.
|
StopInstancesResult |
withStoppingInstances(InstanceStateChange... stoppingInstances)
Information about the stopped instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceStateChange> getStoppingInstances()
Information about the stopped instances.
public void setStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about the stopped instances.
stoppingInstances
- Information about the stopped instances.public StopInstancesResult withStoppingInstances(InstanceStateChange... stoppingInstances)
Information about the 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 the stopped instances.public StopInstancesResult withStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about the stopped instances.
stoppingInstances
- Information about the stopped instances.public String toString()
toString
in class Object
Object.toString()
public StopInstancesResult clone()