@Generated(value="software.amazon.awssdk:codegen") public final class UpdateContactAttributesRequest extends ConnectRequest implements ToCopyableBuilder<UpdateContactAttributesRequest.Builder,UpdateContactAttributesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateContactAttributesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
attributes()
The key-value pairs for the attribute to update.
|
static UpdateContactAttributesRequest.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 |
initialContactId()
The unique identifier of the contact for which to update attributes.
|
String |
instanceId()
The identifier for your Amazon Connect instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateContactAttributesRequest.Builder> |
serializableBuilderClass() |
UpdateContactAttributesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String initialContactId()
The unique identifier of the contact for which to update attributes. This is the identifier for the contact associated with the first interaction with the contact center.
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 Map<String,String> attributes()
The key-value pairs for the attribute to update.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public UpdateContactAttributesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateContactAttributesRequest.Builder,UpdateContactAttributesRequest>
toBuilder
in class ConnectRequest
public static UpdateContactAttributesRequest.Builder builder()
public static Class<? extends UpdateContactAttributesRequest.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.