public class ReplicateInstanceResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ReplicateInstanceResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the replicated instance.
|
java.lang.String |
getId()
The identifier of the replicated instance.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the replicated instance.
|
void |
setId(java.lang.String id)
The identifier of the replicated instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicateInstanceResult |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the replicated instance.
|
ReplicateInstanceResult |
withId(java.lang.String id)
The identifier of the replicated instance.
|
public java.lang.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.
Constraints:
Length: 1 - 100
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 setId(java.lang.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.
Constraints:
Length: 1 - 100
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 ReplicateInstanceResult withId(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
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 java.lang.String getArn()
The Amazon Resource Name (ARN) of the replicated instance.
The Amazon Resource Name (ARN) of the replicated instance.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the replicated instance.
arn - The Amazon Resource Name (ARN) of the replicated instance.
public ReplicateInstanceResult withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the replicated instance.
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN) of the replicated instance.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object