Interface GetNextMessageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetNextMessageRequest.Builder,
,GetNextMessageRequest> QConnectRequest.Builder
,SdkBuilder<GetNextMessageRequest.Builder,
,GetNextMessageRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetNextMessageRequest
@Mutable
@NotThreadSafe
public static interface GetNextMessageRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<GetNextMessageRequest.Builder,GetNextMessageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassistantId
(String assistantId) The identifier of the Amazon Q in Connect assistant.nextMessageToken
(String nextMessageToken) The token for the next message.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the Amazon Q in Connect session.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
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
-
assistantId
The identifier of the Amazon Q in Connect assistant.
- Parameters:
assistantId
- The identifier of the Amazon Q in Connect assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The identifier of the Amazon Q in Connect session.
- Parameters:
sessionId
- The identifier of the Amazon Q in Connect session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMessageToken
The token for the next message. Use the value returned in the SendMessage or previous response in the next request to retrieve the next message.
- Parameters:
nextMessageToken
- The token for the next message. Use the value returned in the SendMessage or previous response in the next request to retrieve the next message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetNextMessageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetNextMessageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-