@Generated(value="software.amazon.awssdk:codegen") public final class UpdateUserPhoneConfigRequest extends ConnectRequest implements ToCopyableBuilder<UpdateUserPhoneConfigRequest.Builder,UpdateUserPhoneConfigRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateUserPhoneConfigRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateUserPhoneConfigRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
instanceId()
The identifier for your Amazon Connect instance.
|
UserPhoneConfig |
phoneConfig()
A
UserPhoneConfig object that contains settings for AfterContactWorkTimeLimit ,
AutoAccept , DeskPhoneNumber , and PhoneType to assign to the user. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateUserPhoneConfigRequest.Builder> |
serializableBuilderClass() |
UpdateUserPhoneConfigRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userId()
The identifier for the user account to change phone settings for.
|
overrideConfiguration
copy
public UserPhoneConfig phoneConfig()
A UserPhoneConfig
object that contains settings for AfterContactWorkTimeLimit
,
AutoAccept
, DeskPhoneNumber
, and PhoneType
to assign to the user.
UserPhoneConfig
object that contains settings for AfterContactWorkTimeLimit
,
AutoAccept
, DeskPhoneNumber
, and PhoneType
to assign to the user.public String userId()
The identifier for the user account to change phone settings for.
public String instanceId()
The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is displayed in the Overview section of your instance settings. For example, the instance ID is the set of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.
public UpdateUserPhoneConfigRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateUserPhoneConfigRequest.Builder,UpdateUserPhoneConfigRequest>
toBuilder
in class ConnectRequest
public static UpdateUserPhoneConfigRequest.Builder builder()
public static Class<? extends UpdateUserPhoneConfigRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.