@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateInstanceResult() |
Modifier and Type | Method and Description |
---|---|
CreateInstanceResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the instance.
|
String |
getId()
The identifier for the instance.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the instance.
|
void |
setId(String id)
The identifier for the instance.
|
String |
toString()
Returns a string representation of this object.
|
CreateInstanceResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the instance.
|
CreateInstanceResult |
withId(String id)
The identifier for the instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The identifier for the instance.
id
- The identifier for the instance.public String getId()
The identifier for the instance.
public CreateInstanceResult withId(String id)
The identifier for the instance.
id
- The identifier for the instance.public void setArn(String arn)
The Amazon Resource Name (ARN) of the instance.
arn
- The Amazon Resource Name (ARN) of the instance.public String getArn()
The Amazon Resource Name (ARN) of the instance.
public CreateInstanceResult withArn(String arn)
The Amazon Resource Name (ARN) of the instance.
arn
- The Amazon Resource Name (ARN) of the instance.public String toString()
toString
in class Object
Object.toString()
public CreateInstanceResult clone()