public class DescribeInstanceResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DescribeInstanceResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Instance |
getInstance()
The name of the instance.
|
int |
hashCode() |
void |
setInstance(Instance instance)
The name of the instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstanceResult |
withInstance(Instance instance)
The name of the instance.
|
public Instance getInstance()
The name of the instance.
The name of the instance.
public void setInstance(Instance instance)
The name of the instance.
instance - The name of the instance.
public DescribeInstanceResult withInstance(Instance instance)
The name of the instance.
Returns a reference to this object so that method calls can be chained together.
instance - The name of the instance.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.