public class UpdateTrafficDistributionRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Updates the traffic distribution for a given traffic distribution group.
You can change the SignInConfig only for a default
TrafficDistributionGroup. If you call
UpdateTrafficDistribution with a modified
SignInConfig and a non-default
TrafficDistributionGroup, an
InvalidRequestException is returned.
For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
| Constructor and Description |
|---|
UpdateTrafficDistributionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
AgentConfig |
getAgentConfig()
The distribution of agents between the instance and its replica(s).
|
java.lang.String |
getId()
The identifier of the traffic distribution group.
|
SignInConfig |
getSignInConfig()
The distribution of allowing signing in to the instance and its
replica(s).
|
TelephonyConfig |
getTelephonyConfig()
The distribution of traffic between the instance and its replica(s).
|
int |
hashCode() |
void |
setAgentConfig(AgentConfig agentConfig)
The distribution of agents between the instance and its replica(s).
|
void |
setId(java.lang.String id)
The identifier of the traffic distribution group.
|
void |
setSignInConfig(SignInConfig signInConfig)
The distribution of allowing signing in to the instance and its
replica(s).
|
void |
setTelephonyConfig(TelephonyConfig telephonyConfig)
The distribution of traffic between the instance and its replica(s).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateTrafficDistributionRequest |
withAgentConfig(AgentConfig agentConfig)
The distribution of agents between the instance and its replica(s).
|
UpdateTrafficDistributionRequest |
withId(java.lang.String id)
The identifier of the traffic distribution group.
|
UpdateTrafficDistributionRequest |
withSignInConfig(SignInConfig signInConfig)
The distribution of allowing signing in to the instance and its
replica(s).
|
UpdateTrafficDistributionRequest |
withTelephonyConfig(TelephonyConfig telephonyConfig)
The distribution of traffic between the instance and its replica(s).
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getId()
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 setId(java.lang.String id)
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}$
id - 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 UpdateTrafficDistributionRequest withId(java.lang.String id)
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}$
id - 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 TelephonyConfig getTelephonyConfig()
The distribution of traffic between the instance and its replica(s).
The distribution of traffic between the instance and its replica(s).
public void setTelephonyConfig(TelephonyConfig telephonyConfig)
The distribution of traffic between the instance and its replica(s).
telephonyConfig - The distribution of traffic between the instance and its replica(s).
public UpdateTrafficDistributionRequest withTelephonyConfig(TelephonyConfig telephonyConfig)
The distribution of traffic between the instance and its replica(s).
Returns a reference to this object so that method calls can be chained together.
telephonyConfig - The distribution of traffic between the instance and its replica(s).
public SignInConfig getSignInConfig()
The distribution of allowing signing in to the instance and its replica(s).
The distribution of allowing signing in to the instance and its replica(s).
public void setSignInConfig(SignInConfig signInConfig)
The distribution of allowing signing in to the instance and its replica(s).
signInConfig - The distribution of allowing signing in to the instance and its replica(s).
public UpdateTrafficDistributionRequest withSignInConfig(SignInConfig signInConfig)
The distribution of allowing signing in to the instance and its replica(s).
Returns a reference to this object so that method calls can be chained together.
signInConfig - The distribution of allowing signing in to the instance and its replica(s).
public AgentConfig getAgentConfig()
The distribution of agents between the instance and its replica(s).
The distribution of agents between the instance and its replica(s).
public void setAgentConfig(AgentConfig agentConfig)
The distribution of agents between the instance and its replica(s).
agentConfig - The distribution of agents between the instance and its replica(s).
public UpdateTrafficDistributionRequest withAgentConfig(AgentConfig agentConfig)
The distribution of agents between the instance and its replica(s).
Returns a reference to this object so that method calls can be chained together.
agentConfig - The distribution of agents between the instance and its replica(s).
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