@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstanceStateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetInstanceStateResult() |
| Modifier and Type | Method and Description |
|---|---|
GetInstanceStateResult |
clone() |
boolean |
equals(Object obj) |
InstanceState |
getState()
The state of the instance.
|
int |
hashCode() |
void |
setState(InstanceState state)
The state of the instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetInstanceStateResult |
withState(InstanceState state)
The state of the instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setState(InstanceState state)
The state of the instance.
state - The state of the instance.public InstanceState getState()
The state of the instance.
public GetInstanceStateResult withState(InstanceState state)
The state of the instance.
state - The state of the instance.public String toString()
toString in class ObjectObject.toString()public GetInstanceStateResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.