@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePhoneNumberRequest extends ConnectRequest implements ToCopyableBuilder<UpdatePhoneNumberRequest.Builder,UpdatePhoneNumberRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePhoneNumberRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePhoneNumberRequest.Builder |
builder() |
String |
clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
String |
phoneNumberId()
A unique identifier for the phone number.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePhoneNumberRequest.Builder> |
serializableBuilderClass() |
String |
targetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through.
|
UpdatePhoneNumberRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String phoneNumberId()
A unique identifier for the phone number.
public final String targetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through. You must enter InstanceId or TargetArn.
InstanceId or
TargetArn.public final String instanceId()
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in
the Amazon Resource Name (ARN) of the instance. You must enter InstanceId or TargetArn.
InstanceId or
TargetArn.public final 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.
public UpdatePhoneNumberRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePhoneNumberRequest.Builder,UpdatePhoneNumberRequest>toBuilder in class ConnectRequestpublic static UpdatePhoneNumberRequest.Builder builder()
public static Class<? extends UpdatePhoneNumberRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.