@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()
An array of key-value pairs containing information about the specified instance.
|
int |
hashCode() |
void |
setInstance(Instance instance)
An array of key-value pairs containing information about the specified instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetInstanceResult |
withInstance(Instance instance)
An array of key-value pairs containing information about the specified instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInstance(Instance instance)
An array of key-value pairs containing information about the specified instance.
instance
- An array of key-value pairs containing information about the specified instance.public Instance getInstance()
An array of key-value pairs containing information about the specified instance.
public GetInstanceResult withInstance(Instance instance)
An array of key-value pairs containing information about the specified instance.
instance
- An array of key-value pairs containing information about the specified instance.public String toString()
toString
in class Object
Object.toString()
public GetInstanceResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.