Interface ListAggregatedUtterancesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAggregatedUtterancesRequest.Builder,ListAggregatedUtterancesRequest>,LexModelsV2Request.Builder,SdkBuilder<ListAggregatedUtterancesRequest.Builder,ListAggregatedUtterancesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAggregatedUtterancesRequest
public static interface ListAggregatedUtterancesRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListAggregatedUtterancesRequest.Builder,ListAggregatedUtterancesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListAggregatedUtterancesRequest.BuilderaggregationDuration(Consumer<UtteranceAggregationDuration.Builder> aggregationDuration)The time window for aggregating the utterance information.ListAggregatedUtterancesRequest.BuilderaggregationDuration(UtteranceAggregationDuration aggregationDuration)The time window for aggregating the utterance information.ListAggregatedUtterancesRequest.BuilderbotAliasId(String botAliasId)The identifier of the bot alias associated with this request.ListAggregatedUtterancesRequest.BuilderbotId(String botId)The unique identifier of the bot associated with this request.ListAggregatedUtterancesRequest.BuilderbotVersion(String botVersion)The identifier of the bot version associated with this request.ListAggregatedUtterancesRequest.Builderfilters(Collection<AggregatedUtterancesFilter> filters)Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification.ListAggregatedUtterancesRequest.Builderfilters(Consumer<AggregatedUtterancesFilter.Builder>... filters)Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification.ListAggregatedUtterancesRequest.Builderfilters(AggregatedUtterancesFilter... filters)Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification.ListAggregatedUtterancesRequest.BuilderlocaleId(String localeId)The identifier of the language and locale where the utterances were collected.ListAggregatedUtterancesRequest.BuildermaxResults(Integer maxResults)The maximum number of utterances to return in each page of results.ListAggregatedUtterancesRequest.BuildernextToken(String nextToken)If the response from theListAggregatedUtterancesoperation contains more results that specified in themaxResultsparameter, a token is returned in the response.ListAggregatedUtterancesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAggregatedUtterancesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListAggregatedUtterancesRequest.BuildersortBy(Consumer<AggregatedUtterancesSortBy.Builder> sortBy)Specifies sorting parameters for the list of utterances.ListAggregatedUtterancesRequest.BuildersortBy(AggregatedUtterancesSortBy sortBy)Specifies sorting parameters for the list of utterances.-
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.lexmodelsv2.model.LexModelsV2Request.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
-
botId
ListAggregatedUtterancesRequest.Builder botId(String botId)
The unique identifier of the bot associated with this request.
- Parameters:
botId- The unique identifier of the bot associated with this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasId
ListAggregatedUtterancesRequest.Builder botAliasId(String botAliasId)
The identifier of the bot alias associated with this request. If you specify the bot alias, you can't specify the bot version.
- Parameters:
botAliasId- The identifier of the bot alias associated with this request. If you specify the bot alias, you can't specify the bot version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
ListAggregatedUtterancesRequest.Builder botVersion(String botVersion)
The identifier of the bot version associated with this request. If you specify the bot version, you can't specify the bot alias.
- Parameters:
botVersion- The identifier of the bot version associated with this request. If you specify the bot version, you can't specify the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
ListAggregatedUtterancesRequest.Builder localeId(String localeId)
The identifier of the language and locale where the utterances were collected. For more information, see Supported languages.
- Parameters:
localeId- The identifier of the language and locale where the utterances were collected. For more information, see Supported languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationDuration
ListAggregatedUtterancesRequest.Builder aggregationDuration(UtteranceAggregationDuration aggregationDuration)
The time window for aggregating the utterance information. You can specify a time between one hour and two weeks.
- Parameters:
aggregationDuration- The time window for aggregating the utterance information. You can specify a time between one hour and two weeks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationDuration
default ListAggregatedUtterancesRequest.Builder aggregationDuration(Consumer<UtteranceAggregationDuration.Builder> aggregationDuration)
The time window for aggregating the utterance information. You can specify a time between one hour and two weeks.
This is a convenience method that creates an instance of theUtteranceAggregationDuration.Builderavoiding the need to create one manually viaUtteranceAggregationDuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregationDuration(UtteranceAggregationDuration).- Parameters:
aggregationDuration- a consumer that will call methods onUtteranceAggregationDuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
aggregationDuration(UtteranceAggregationDuration)
-
sortBy
ListAggregatedUtterancesRequest.Builder sortBy(AggregatedUtterancesSortBy sortBy)
Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in.
- Parameters:
sortBy- Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
default ListAggregatedUtterancesRequest.Builder sortBy(Consumer<AggregatedUtterancesSortBy.Builder> sortBy)
Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in.
This is a convenience method that creates an instance of theAggregatedUtterancesSortBy.Builderavoiding the need to create one manually viaAggregatedUtterancesSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(AggregatedUtterancesSortBy).- Parameters:
sortBy- a consumer that will call methods onAggregatedUtterancesSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortBy(AggregatedUtterancesSortBy)
-
filters
ListAggregatedUtterancesRequest.Builder filters(Collection<AggregatedUtterancesFilter> filters)
Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
- Parameters:
filters- Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListAggregatedUtterancesRequest.Builder filters(AggregatedUtterancesFilter... filters)
Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
- Parameters:
filters- Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListAggregatedUtterancesRequest.Builder filters(Consumer<AggregatedUtterancesFilter.Builder>... filters)
Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
This is a convenience method that creates an instance of theAggregatedUtterancesFilter.Builderavoiding the need to create one manually viaAggregatedUtterancesFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onAggregatedUtterancesFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
maxResults
ListAggregatedUtterancesRequest.Builder maxResults(Integer maxResults)
The maximum number of utterances to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. If you don't specify the
maxResultsparameter, 1,000 results are returned.- Parameters:
maxResults- The maximum number of utterances to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. If you don't specify themaxResultsparameter, 1,000 results are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListAggregatedUtterancesRequest.Builder nextToken(String nextToken)
If the response from the
ListAggregatedUtterancesoperation contains more results that specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.- Parameters:
nextToken- If the response from theListAggregatedUtterancesoperation contains more results that specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAggregatedUtterancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAggregatedUtterancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-