Interface ContactDataRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContactDataRequest.Builder,
,ContactDataRequest> SdkBuilder<ContactDataRequest.Builder,
,ContactDataRequest> SdkPojo
- Enclosing class:
ContactDataRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) List of attributes to be stored in a contact.default ContactDataRequest.Builder
campaign
(Consumer<Campaign.Builder> campaign) Structure to store information associated with a campaign.Structure to store information associated with a campaign.default ContactDataRequest.Builder
customerEndpoint
(Consumer<Endpoint.Builder> customerEndpoint) Endpoint of the customer for which contact will be initiated.customerEndpoint
(Endpoint customerEndpoint) Endpoint of the customer for which contact will be initiated.The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.requestIdentifier
(String requestIdentifier) Identifier to uniquely identify individual requests in the batch.default ContactDataRequest.Builder
systemEndpoint
(Consumer<Endpoint.Builder> systemEndpoint) Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.systemEndpoint
(Endpoint systemEndpoint) Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.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 Details
-
systemEndpoint
Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.
- Parameters:
systemEndpoint
- Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemEndpoint
Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,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:
-
customerEndpoint
Endpoint of the customer for which contact will be initiated.
- Parameters:
customerEndpoint
- Endpoint of the customer for which contact will be initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerEndpoint
Endpoint of the customer for which contact will be initiated.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,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:
-
requestIdentifier
Identifier to uniquely identify individual requests in the batch.
- Parameters:
requestIdentifier
- Identifier to uniquely identify individual requests in the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueId
The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.
- Parameters:
queueId
- The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
List of attributes to be stored in a contact.
- Parameters:
attributes
- List of attributes to be stored in a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaign
Structure to store information associated with a campaign.
- Parameters:
campaign
- Structure to store information associated with a campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaign
Structure to store information associated with a campaign.
This is a convenience method that creates an instance of theCampaign.Builder
avoiding the need to create one manually viaCampaign.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocampaign(Campaign)
.- Parameters:
campaign
- a consumer that will call methods onCampaign.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-