Interface ContactDataRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContactDataRequest.Builder,ContactDataRequest>,SdkBuilder<ContactDataRequest.Builder,ContactDataRequest>,SdkPojo
- Enclosing class:
- ContactDataRequest
public static interface ContactDataRequest.Builder extends SdkPojo, CopyableBuilder<ContactDataRequest.Builder,ContactDataRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ContactDataRequest.Builderattributes(Map<String,String> attributes)List of attributes to be stored in a contact.default ContactDataRequest.Buildercampaign(Consumer<Campaign.Builder> campaign)Structure to store information associated with a campaign.ContactDataRequest.Buildercampaign(Campaign campaign)Structure to store information associated with a campaign.default ContactDataRequest.BuildercustomerEndpoint(Consumer<Endpoint.Builder> customerEndpoint)Endpoint of the customer for which contact will be initiated.ContactDataRequest.BuildercustomerEndpoint(Endpoint customerEndpoint)Endpoint of the customer for which contact will be initiated.ContactDataRequest.BuilderqueueId(String queueId)The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.ContactDataRequest.BuilderrequestIdentifier(String requestIdentifier)Identifier to uniquely identify individual requests in the batch.default ContactDataRequest.BuildersystemEndpoint(Consumer<Endpoint.Builder> systemEndpoint)Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.ContactDataRequest.BuildersystemEndpoint(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, sdkFields
-
-
-
-
Method Detail
-
systemEndpoint
ContactDataRequest.Builder systemEndpoint(Endpoint 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
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.
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)
-
customerEndpoint
ContactDataRequest.Builder customerEndpoint(Endpoint 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
default ContactDataRequest.Builder customerEndpoint(Consumer<Endpoint.Builder> customerEndpoint)
Endpoint of the customer for which contact will be initiated.
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)
-
requestIdentifier
ContactDataRequest.Builder requestIdentifier(String 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
ContactDataRequest.Builder queueId(String 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
ContactDataRequest.Builder attributes(Map<String,String> 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
ContactDataRequest.Builder campaign(Campaign 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
default ContactDataRequest.Builder campaign(Consumer<Campaign.Builder> campaign)
Structure to store information associated with a campaign.
This is a convenience method that creates an instance of theCampaign.Builderavoiding the need to create one manually viaCampaign.builder().When the
Consumercompletes,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:
campaign(Campaign)
-
-