public class CreateTrafficDistributionGroupRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
| Constructor and Description |
|---|
CreateTrafficDistributionGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTrafficDistributionGroupRequest |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
CreateTrafficDistributionGroupRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
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 |
getDescription()
A description for the traffic distribution group.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance that has been replicated.
|
java.lang.String |
getName()
The name for the traffic distribution group.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setDescription(java.lang.String description)
A description for the traffic distribution group.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance that has been replicated.
|
void |
setName(java.lang.String name)
The name for the traffic distribution group.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTrafficDistributionGroupRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
CreateTrafficDistributionGroupRequest |
withDescription(java.lang.String description)
A description for the traffic distribution group.
|
CreateTrafficDistributionGroupRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance that has been replicated.
|
CreateTrafficDistributionGroupRequest |
withName(java.lang.String name)
The name for the traffic distribution group.
|
CreateTrafficDistributionGroupRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic CreateTrafficDistributionGroupRequest()
public java.lang.String getName()
The name for the traffic distribution group.
Constraints:
Length: 1 - 128
Pattern: (^[\S].*[\S]$)|(^[\S]$)
The name for the traffic distribution group.
public void setName(java.lang.String name)
The name for the traffic distribution group.
Constraints:
Length: 1 - 128
Pattern: (^[\S].*[\S]$)|(^[\S]$)
name - The name for the traffic distribution group.
public CreateTrafficDistributionGroupRequest withName(java.lang.String name)
The name for the traffic distribution group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: (^[\S].*[\S]$)|(^[\S]$)
name - The name for the traffic distribution group.
public java.lang.String getDescription()
A description for the traffic distribution group.
Constraints:
Length: 1 - 250
Pattern: (^[\S].*[\S]$)|(^[\S]$)
A description for the traffic distribution group.
public void setDescription(java.lang.String description)
A description for the traffic distribution group.
Constraints:
Length: 1 - 250
Pattern: (^[\S].*[\S]$)|(^[\S]$)
description - A description for the traffic distribution group.
public CreateTrafficDistributionGroupRequest withDescription(java.lang.String description)
A description for the traffic distribution group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
Pattern: (^[\S].*[\S]$)|(^[\S]$)
description - A description for the traffic distribution group.
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance that has been replicated.
You can find the instanceId in the ARN of the instance.
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 that has been
replicated. You can find the instanceId in the ARN
of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance that has been replicated.
You can find the instanceId in the ARN of the instance.
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 that has been
replicated. You can find the instanceId in the
ARN of the instance.
public CreateTrafficDistributionGroupRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance that has been replicated.
You can find the instanceId in the ARN of the instance.
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 that has been
replicated. You can find the instanceId in the
ARN of the 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 CreateTrafficDistributionGroupRequest 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.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public CreateTrafficDistributionGroupRequest withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public CreateTrafficDistributionGroupRequest addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public CreateTrafficDistributionGroupRequest clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
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