public class AssociatePhoneNumberContactFlowRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Associates a flow with a phone number claimed to your Amazon Connect instance.
If the number is claimed to a traffic distribution group, and you are calling
this API using an instance in the Amazon Web Services Region where the
traffic distribution group was created, you can use either a full phone
number ARN or UUID value for the PhoneNumberId URI request
parameter. However, if the number is claimed to a traffic distribution group
and you are calling this API using an instance in the alternate Amazon Web
Services Region associated with the traffic distribution group, you must
provide a full phone number ARN. If a UUID is provided in this scenario, you
will receive a ResourceNotFoundException.
| Constructor and Description |
|---|
AssociatePhoneNumberContactFlowRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContactFlowId()
The identifier of the flow.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getPhoneNumberId()
A unique identifier for the phone number.
|
int |
hashCode() |
void |
setContactFlowId(java.lang.String contactFlowId)
The identifier of the flow.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociatePhoneNumberContactFlowRequest |
withContactFlowId(java.lang.String contactFlowId)
The identifier of the flow.
|
AssociatePhoneNumberContactFlowRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
AssociatePhoneNumberContactFlowRequest |
withPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic AssociatePhoneNumberContactFlowRequest()
public java.lang.String getPhoneNumberId()
A unique identifier for the phone number.
A unique identifier for the phone number.
public void setPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId - A unique identifier for the phone number.
public AssociatePhoneNumberContactFlowRequest withPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
Returns a reference to this object so that method calls can be chained together.
phoneNumberId - A unique identifier for the phone number.
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 AssociatePhoneNumberContactFlowRequest 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 getContactFlowId()
The identifier of the flow.
Constraints:
Length: - 500
The identifier of the flow.
public void setContactFlowId(java.lang.String contactFlowId)
The identifier of the flow.
Constraints:
Length: - 500
contactFlowId - The identifier of the flow.
public AssociatePhoneNumberContactFlowRequest withContactFlowId(java.lang.String contactFlowId)
The identifier of the flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
contactFlowId - The identifier of the flow.
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