Interface CreateParticipantRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateParticipantRequest.Builder,CreateParticipantRequest>,SdkBuilder<CreateParticipantRequest.Builder,CreateParticipantRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateParticipantRequest
public static interface CreateParticipantRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateParticipantRequest.Builder,CreateParticipantRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
instanceId
CreateParticipantRequest.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
CreateParticipantRequest.Builder contactId(String contactId)
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
- Parameters:
contactId- The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateParticipantRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantDetails
CreateParticipantRequest.Builder participantDetails(ParticipantDetailsToAdd participantDetails)
Information identifying the participant.
The only Valid value for
ParticipantRoleisCUSTOM_BOT.DisplayNameis Required.- Parameters:
participantDetails- Information identifying the participant.The only Valid value for
ParticipantRoleisCUSTOM_BOT.DisplayNameis Required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantDetails
default CreateParticipantRequest.Builder participantDetails(Consumer<ParticipantDetailsToAdd.Builder> participantDetails)
Information identifying the participant.
This is a convenience method that creates an instance of theThe only Valid value for
ParticipantRoleisCUSTOM_BOT.DisplayNameis Required.ParticipantDetailsToAdd.Builderavoiding the need to create one manually viaParticipantDetailsToAdd.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparticipantDetails(ParticipantDetailsToAdd).- Parameters:
participantDetails- a consumer that will call methods onParticipantDetailsToAdd.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
participantDetails(ParticipantDetailsToAdd)
-
overrideConfiguration
CreateParticipantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateParticipantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-