public class AssociateTrafficDistributionGroupUserRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Associates an agent with a traffic distribution group.
| Constructor and Description |
|---|
AssociateTrafficDistributionGroupUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getTrafficDistributionGroupId()
The identifier of the traffic distribution group.
|
java.lang.String |
getUserId()
The identifier of the user account.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setTrafficDistributionGroupId(java.lang.String trafficDistributionGroupId)
The identifier of the traffic distribution group.
|
void |
setUserId(java.lang.String userId)
The identifier of the user account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateTrafficDistributionGroupUserRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
AssociateTrafficDistributionGroupUserRequest |
withTrafficDistributionGroupId(java.lang.String trafficDistributionGroupId)
The identifier of the traffic distribution group.
|
AssociateTrafficDistributionGroupUserRequest |
withUserId(java.lang.String userId)
The identifier of the user account.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic AssociateTrafficDistributionGroupUserRequest()
public java.lang.String getTrafficDistributionGroupId()
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
Constraints:
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z-]+-[0-9]{1}:[
0-9]{1,20}:traffic
-distribution-group/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4
}-[a-f0-9]{4}-[a-f0-9]{12}$
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
public void setTrafficDistributionGroupId(java.lang.String trafficDistributionGroupId)
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
Constraints:
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z-]+-[0-9]{1}:[
0-9]{1,20}:traffic
-distribution-group/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4
}-[a-f0-9]{4}-[a-f0-9]{12}$
trafficDistributionGroupId - The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
public AssociateTrafficDistributionGroupUserRequest withTrafficDistributionGroupId(java.lang.String trafficDistributionGroupId)
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z-]+-[0-9]{1}:[
0-9]{1,20}:traffic
-distribution-group/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4
}-[a-f0-9]{4}-[a-f0-9]{12}$
trafficDistributionGroupId - The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
public java.lang.String getUserId()
The identifier of the user account. This can be the ID or the ARN of the user.
The identifier of the user account. This can be the ID or the ARN of the user.
public void setUserId(java.lang.String userId)
The identifier of the user account. This can be the ID or the ARN of the user.
userId - The identifier of the user account. This can be the ID or the ARN of the user.
public AssociateTrafficDistributionGroupUserRequest withUserId(java.lang.String userId)
The identifier of the user account. This can be the ID or the ARN of the user.
Returns a reference to this object so that method calls can be chained together.
userId - The identifier of the user account. This can be the ID or the ARN of the user.
public 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.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public AssociateTrafficDistributionGroupUserRequest 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the 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