public class ReplicateInstanceRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Replicates an Amazon Connect instance in the specified Amazon Web Services Region.
For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
| Constructor and Description |
|---|
ReplicateInstanceRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getReplicaAlias()
The alias for the replicated instance.
|
java.lang.String |
getReplicaRegion()
The Amazon Web Services Region where to replicate the Amazon Connect
instance.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setReplicaAlias(java.lang.String replicaAlias)
The alias for the replicated instance.
|
void |
setReplicaRegion(java.lang.String replicaRegion)
The Amazon Web Services Region where to replicate the Amazon Connect
instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicateInstanceRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
ReplicateInstanceRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
ReplicateInstanceRequest |
withReplicaAlias(java.lang.String replicaAlias)
The alias for the replicated instance.
|
ReplicateInstanceRequest |
withReplicaRegion(java.lang.String replicaRegion)
The Amazon Web Services Region where to replicate the Amazon Connect
instance.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the
instance. You can provide the InstanceId, or the entire ARN.
Constraints:
Length: 1 - 250
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0
-9]{1,20}:instance
/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of
the instance. You can provide the InstanceId, or the
entire ARN.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the
instance. You can provide the InstanceId, or the entire ARN.
Constraints:
Length: 1 - 250
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0
-9]{1,20}:instance
/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
instanceId -
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of
the instance. You can provide the InstanceId, or
the entire ARN.
public ReplicateInstanceRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the
instance. You can provide the InstanceId, or the entire ARN.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0
-9]{1,20}:instance
/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
instanceId -
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of
the instance. You can provide the InstanceId, or
the entire ARN.
public java.lang.String getReplicaRegion()
The Amazon Web Services Region where to replicate the Amazon Connect instance.
Constraints:
Length: 8 - 31
Pattern: [a-z]{2}(-[a-z]+){1,2}(-[0-9])?
The Amazon Web Services Region where to replicate the Amazon Connect instance.
public void setReplicaRegion(java.lang.String replicaRegion)
The Amazon Web Services Region where to replicate the Amazon Connect instance.
Constraints:
Length: 8 - 31
Pattern: [a-z]{2}(-[a-z]+){1,2}(-[0-9])?
replicaRegion - The Amazon Web Services Region where to replicate the Amazon Connect instance.
public ReplicateInstanceRequest withReplicaRegion(java.lang.String replicaRegion)
The Amazon Web Services Region where to replicate the Amazon Connect instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 8 - 31
Pattern: [a-z]{2}(-[a-z]+){1,2}(-[0-9])?
replicaRegion - The Amazon Web Services Region where to replicate the Amazon Connect instance.
public java.lang.String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: - 500
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public void setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public ReplicateInstanceRequest withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public java.lang.String getReplicaAlias()
The alias for the replicated instance. The ReplicaAlias must
be unique.
Constraints:
Length: 1 - 45
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
The alias for the replicated instance. The
ReplicaAlias must be unique.
public void setReplicaAlias(java.lang.String replicaAlias)
The alias for the replicated instance. The ReplicaAlias must
be unique.
Constraints:
Length: 1 - 45
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
replicaAlias -
The alias for the replicated instance. The
ReplicaAlias must be unique.
public ReplicateInstanceRequest withReplicaAlias(java.lang.String replicaAlias)
The alias for the replicated instance. The ReplicaAlias must
be unique.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 45
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
replicaAlias -
The alias for the replicated instance. The
ReplicaAlias must be unique.
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