@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a CreateInstance
request.
Constructor and Description |
---|
CreateInstanceResult() |
Modifier and Type | Method and Description |
---|---|
CreateInstanceResult |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The instance ID.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The instance ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateInstanceResult |
withInstanceId(String instanceId)
The instance ID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public CreateInstanceResult withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String toString()
toString
in class Object
Object.toString()
public CreateInstanceResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.