@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetInstanceResult() |
| Modifier and Type | Method and Description |
|---|---|
GetInstanceResult |
clone() |
boolean |
equals(Object obj) |
Instance |
getInstance()
A complex type that contains information about a specified instance.
|
int |
hashCode() |
void |
setInstance(Instance instance)
A complex type that contains information about a specified instance.
|
String |
toString()
Returns a string representation of this object.
|
GetInstanceResult |
withInstance(Instance instance)
A complex type that contains information about a specified instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setInstance(Instance instance)
A complex type that contains information about a specified instance.
instance - A complex type that contains information about a specified instance.public Instance getInstance()
A complex type that contains information about a specified instance.
public GetInstanceResult withInstance(Instance instance)
A complex type that contains information about a specified instance.
instance - A complex type that contains information about a specified instance.public String toString()
toString in class ObjectObject.toString()public GetInstanceResult clone()