@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInstanceResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceResult |
clone() |
boolean |
equals(Object obj) |
Instance |
getInstance()
The name of the instance.
|
int |
hashCode() |
void |
setInstance(Instance instance)
The name of the instance.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceResult |
withInstance(Instance instance)
The name of the instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInstance(Instance instance)
The name of the instance.
instance
- The name of the instance.public Instance getInstance()
The name of the instance.
public DescribeInstanceResult withInstance(Instance instance)
The name of the instance.
instance
- The name of the instance.public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceResult clone()