Interface ListMessagesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListMessagesRequest.Builder,ListMessagesRequest>,QBusinessRequest.Builder,SdkBuilder<ListMessagesRequest.Builder,ListMessagesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListMessagesRequest
public static interface ListMessagesRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<ListMessagesRequest.Builder,ListMessagesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMessagesRequest.BuilderapplicationId(String applicationId)The identifier for the Amazon Q application.ListMessagesRequest.BuilderconversationId(String conversationId)The identifier of the Amazon Q web experience conversation.ListMessagesRequest.BuildermaxResults(Integer maxResults)The maximum number of messages to return.ListMessagesRequest.BuildernextToken(String nextToken)If the number of retrievers returned exceedsmaxResults, Amazon Q returns a next token as a pagination token to retrieve the next set of messages.ListMessagesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListMessagesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListMessagesRequest.BuilderuserId(String userId)The identifier of the user involved in the Amazon Q web experience conversation.-
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.qbusiness.model.QBusinessRequest.Builder
build
-
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
-
applicationId
ListMessagesRequest.Builder applicationId(String applicationId)
The identifier for the Amazon Q application.
- Parameters:
applicationId- The identifier for the Amazon Q application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationId
ListMessagesRequest.Builder conversationId(String conversationId)
The identifier of the Amazon Q web experience conversation.
- Parameters:
conversationId- The identifier of the Amazon Q web experience conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListMessagesRequest.Builder maxResults(Integer maxResults)
The maximum number of messages to return.
- Parameters:
maxResults- The maximum number of messages to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListMessagesRequest.Builder nextToken(String nextToken)
If the number of retrievers returned exceeds
maxResults, Amazon Q returns a next token as a pagination token to retrieve the next set of messages.- Parameters:
nextToken- If the number of retrievers returned exceedsmaxResults, Amazon Q returns a next token as a pagination token to retrieve the next set of messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
ListMessagesRequest.Builder userId(String userId)
The identifier of the user involved in the Amazon Q web experience conversation.
- Parameters:
userId- The identifier of the user involved in the Amazon Q web experience conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListMessagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListMessagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-