public class DisassociatePhoneNumberContactFlowRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Removes the flow association from 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 |
|---|
DisassociatePhoneNumberContactFlowRequest() |
| 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 |
getPhoneNumberId()
A unique identifier for the phone number.
|
int |
hashCode() |
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.
|
DisassociatePhoneNumberContactFlowRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
DisassociatePhoneNumberContactFlowRequest |
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 DisassociatePhoneNumberContactFlowRequest()
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 DisassociatePhoneNumberContactFlowRequest 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 DisassociatePhoneNumberContactFlowRequest 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