public class CreateInstanceResult extends Object implements Serializable
Contains the response to a CreateInstance
request.
Constructor and Description |
---|
CreateInstanceResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public CreateInstanceResult withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.