@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePhoneNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdatePhoneNumberRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdatePhoneNumberRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getPhoneNumberId()
A unique identifier for the phone number.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are
claimed to.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are
claimed to.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePhoneNumberRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
UpdatePhoneNumberRequest |
withPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
UpdatePhoneNumberRequest |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are
claimed to.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId - A unique identifier for the phone number.public String getPhoneNumberId()
A unique identifier for the phone number.
public UpdatePhoneNumberRequest withPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId - A unique identifier for the phone number.public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
numbers are claimed to.public String getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
public UpdatePhoneNumberRequest withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
numbers are claimed to.public void setClientToken(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.
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 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.
public UpdatePhoneNumberRequest withClientToken(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.
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 String toString()
toString in class ObjectObject.toString()public UpdatePhoneNumberRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.