public class CreateInstanceResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CreateInstanceResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the instance.
|
java.lang.String |
getId()
The identifier for the instance.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
|
void |
setId(java.lang.String id)
The identifier for the instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateInstanceResult |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
|
CreateInstanceResult |
withId(java.lang.String id)
The identifier for the instance.
|
public java.lang.String getId()
The identifier for the instance.
Constraints:
Length: 1 - 100
The identifier for the instance.
public void setId(java.lang.String id)
The identifier for the instance.
Constraints:
Length: 1 - 100
id
- The identifier for the instance.
public CreateInstanceResult withId(java.lang.String id)
The identifier for the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
id
- The identifier for the instance.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the instance.
The Amazon Resource Name (ARN) of the instance.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
arn
- The Amazon Resource Name (ARN) of the instance.
public CreateInstanceResult withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the instance.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.