Interface UpdateContactRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest>,SdkBuilder<UpdateContactRequest.Builder,UpdateContactRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateContactRequest
public static interface UpdateContactRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateContactRequest.BuildercontactId(String contactId)The identifier of the contact.default UpdateContactRequest.BuildercustomerEndpoint(Consumer<Endpoint.Builder> customerEndpoint)The endpoint of the customer for which the contact was initiated.UpdateContactRequest.BuildercustomerEndpoint(Endpoint customerEndpoint)The endpoint of the customer for which the contact was initiated.UpdateContactRequest.Builderdescription(String description)The description of the contact.UpdateContactRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.UpdateContactRequest.Buildername(String name)The name of the contact.UpdateContactRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateContactRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateContactRequest.BuilderqueueInfo(Consumer<QueueInfoInput.Builder> queueInfo)Information about the queue associated with a contact.UpdateContactRequest.BuilderqueueInfo(QueueInfoInput queueInfo)Information about the queue associated with a contact.UpdateContactRequest.Builderreferences(Map<String,Reference> references)Well-formed data on contact, shown to agents on Contact Control Panel (CCP).UpdateContactRequest.BuildersegmentAttributes(Map<String,SegmentAttributeValue> segmentAttributes)A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map.default UpdateContactRequest.BuildersystemEndpoint(Consumer<Endpoint.Builder> systemEndpoint)External system endpoint for the contact was initiated.UpdateContactRequest.BuildersystemEndpoint(Endpoint systemEndpoint)External system endpoint for the contact was initiated.default UpdateContactRequest.BuilderuserInfo(Consumer<UserInfo.Builder> userInfo)Information about the agent associated with a contact.UpdateContactRequest.BuilderuserInfo(UserInfo userInfo)Information about the agent associated with a contact.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceId
UpdateContactRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactId
UpdateContactRequest.Builder contactId(String contactId)
The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
- Parameters:
contactId- The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateContactRequest.Builder name(String name)
The name of the contact.
- Parameters:
name- The name of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateContactRequest.Builder description(String description)
The description of the contact.
- Parameters:
description- The description of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
references
UpdateContactRequest.Builder references(Map<String,Reference> references)
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
- Parameters:
references- Well-formed data on contact, shown to agents on Contact Control Panel (CCP).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentAttributes
UpdateContactRequest.Builder segmentAttributes(Map<String,SegmentAttributeValue> segmentAttributes)
A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
Attribute keys can include only alphanumeric, -, and _.
This field can be used to show channel subtype, such as
connect:Guide.Currently Contact Expiry is the only segment attribute which can be updated by using the UpdateContact API.
- Parameters:
segmentAttributes- A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.Attribute keys can include only alphanumeric, -, and _.
This field can be used to show channel subtype, such as
connect:Guide.Currently Contact Expiry is the only segment attribute which can be updated by using the UpdateContact API.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
UpdateContactRequest.Builder queueInfo(QueueInfoInput queueInfo)
Information about the queue associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
- Parameters:
queueInfo- Information about the queue associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
default UpdateContactRequest.Builder queueInfo(Consumer<QueueInfoInput.Builder> queueInfo)
Information about the queue associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
This is a convenience method that creates an instance of theQueueInfoInput.Builderavoiding the need to create one manually viaQueueInfoInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueueInfo(QueueInfoInput).- Parameters:
queueInfo- a consumer that will call methods onQueueInfoInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queueInfo(QueueInfoInput)
-
userInfo
UpdateContactRequest.Builder userInfo(UserInfo userInfo)
Information about the agent associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
- Parameters:
userInfo- Information about the agent associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userInfo
default UpdateContactRequest.Builder userInfo(Consumer<UserInfo.Builder> userInfo)
Information about the agent associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
This is a convenience method that creates an instance of theUserInfo.Builderavoiding the need to create one manually viaUserInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserInfo(UserInfo).- Parameters:
userInfo- a consumer that will call methods onUserInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userInfo(UserInfo)
-
customerEndpoint
UpdateContactRequest.Builder customerEndpoint(Endpoint customerEndpoint)
The endpoint of the customer for which the contact was initiated. For external audio contacts, this is usually the end customer's phone number. This value can only be updated for external audio contacts. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
- Parameters:
customerEndpoint- The endpoint of the customer for which the contact was initiated. For external audio contacts, this is usually the end customer's phone number. This value can only be updated for external audio contacts. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerEndpoint
default UpdateContactRequest.Builder customerEndpoint(Consumer<Endpoint.Builder> customerEndpoint)
The endpoint of the customer for which the contact was initiated. For external audio contacts, this is usually the end customer's phone number. This value can only be updated for external audio contacts. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomerEndpoint(Endpoint).- Parameters:
customerEndpoint- a consumer that will call methods onEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customerEndpoint(Endpoint)
-
systemEndpoint
UpdateContactRequest.Builder systemEndpoint(Endpoint systemEndpoint)
External system endpoint for the contact was initiated. For external audio contacts, this is the phone number of the external system such as the contact center. This value can only be updated for external audio contacts. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
- Parameters:
systemEndpoint- External system endpoint for the contact was initiated. For external audio contacts, this is the phone number of the external system such as the contact center. This value can only be updated for external audio contacts. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemEndpoint
default UpdateContactRequest.Builder systemEndpoint(Consumer<Endpoint.Builder> systemEndpoint)
External system endpoint for the contact was initiated. For external audio contacts, this is the phone number of the external system such as the contact center. This value can only be updated for external audio contacts. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemEndpoint(Endpoint).- Parameters:
systemEndpoint- a consumer that will call methods onEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
systemEndpoint(Endpoint)
-
overrideConfiguration
UpdateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-