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