Interface ListAggregatedUtterancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAggregatedUtterancesResponse.Builder,
,ListAggregatedUtterancesResponse> LexModelsV2Response.Builder
,SdkBuilder<ListAggregatedUtterancesResponse.Builder,
,ListAggregatedUtterancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAggregatedUtterancesResponse
-
Method Summary
Modifier and TypeMethodDescriptionaggregatedUtterancesSummaries
(Collection<AggregatedUtterancesSummary> aggregatedUtterancesSummaries) Summaries of the aggregated utterance data.aggregatedUtterancesSummaries
(Consumer<AggregatedUtterancesSummary.Builder>... aggregatedUtterancesSummaries) Summaries of the aggregated utterance data.aggregatedUtterancesSummaries
(AggregatedUtterancesSummary... aggregatedUtterancesSummaries) Summaries of the aggregated utterance data.aggregationDuration
(Consumer<UtteranceAggregationDuration.Builder> aggregationDuration) The time period used to aggregate the utterance data.aggregationDuration
(UtteranceAggregationDuration aggregationDuration) The time period used to aggregate the utterance data.aggregationLastRefreshedDateTime
(Instant aggregationLastRefreshedDateTime) The last date and time that the aggregated data was collected.aggregationWindowEndTime
(Instant aggregationWindowEndTime) The date and time that the aggregation window ends.aggregationWindowStartTime
(Instant aggregationWindowStartTime) The date and time that the aggregation window begins.botAliasId
(String botAliasId) The identifier of the bot alias that contains the utterances.The identifier of the bot that contains the utterances.botVersion
(String botVersion) The identifier of the bot version that contains the utterances.The identifier of the language and locale that the utterances are in.A token that indicates whether there are more results to return in a response to theListAggregatedUtterances
operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
botId
The identifier of the bot that contains the utterances.
- Parameters:
botId
- The identifier of the bot that contains the utterances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasId
The identifier of the bot alias that contains the utterances. If you specified the bot version, the bot alias ID isn't returned.
- Parameters:
botAliasId
- The identifier of the bot alias that contains the utterances. If you specified the bot version, the bot alias ID isn't returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The identifier of the bot version that contains the utterances. If you specified the bot alias, the bot version isn't returned.
- Parameters:
botVersion
- The identifier of the bot version that contains the utterances. If you specified the bot alias, the bot version isn't returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The identifier of the language and locale that the utterances are in.
- Parameters:
localeId
- The identifier of the language and locale that the utterances are in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationDuration
ListAggregatedUtterancesResponse.Builder aggregationDuration(UtteranceAggregationDuration aggregationDuration) The time period used to aggregate the utterance data.
- Parameters:
aggregationDuration
- The time period used to aggregate the utterance data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationDuration
default ListAggregatedUtterancesResponse.Builder aggregationDuration(Consumer<UtteranceAggregationDuration.Builder> aggregationDuration) The time period used to aggregate the utterance data.
This is a convenience method that creates an instance of theUtteranceAggregationDuration.Builder
avoiding the need to create one manually viaUtteranceAggregationDuration.builder()
.When the
Consumer
completes,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:
-
aggregationWindowStartTime
ListAggregatedUtterancesResponse.Builder aggregationWindowStartTime(Instant aggregationWindowStartTime) The date and time that the aggregation window begins. Only data collected after this time is returned in the results.
- Parameters:
aggregationWindowStartTime
- The date and time that the aggregation window begins. Only data collected after this time is returned in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationWindowEndTime
The date and time that the aggregation window ends. Only data collected between the start time and the end time are returned in the results.
- Parameters:
aggregationWindowEndTime
- The date and time that the aggregation window ends. Only data collected between the start time and the end time are returned in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationLastRefreshedDateTime
ListAggregatedUtterancesResponse.Builder aggregationLastRefreshedDateTime(Instant aggregationLastRefreshedDateTime) The last date and time that the aggregated data was collected. The time period depends on the length of the aggregation window.
-
Hours - for 1 hour time window, every half hour; otherwise every hour.
-
Days - every 6 hours
-
Weeks - for a one week time window, every 12 hours; otherwise, every day
- Parameters:
aggregationLastRefreshedDateTime
- The last date and time that the aggregated data was collected. The time period depends on the length of the aggregation window.-
Hours - for 1 hour time window, every half hour; otherwise every hour.
-
Days - every 6 hours
-
Weeks - for a one week time window, every 12 hours; otherwise, every day
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
aggregatedUtterancesSummaries
ListAggregatedUtterancesResponse.Builder aggregatedUtterancesSummaries(Collection<AggregatedUtterancesSummary> aggregatedUtterancesSummaries) Summaries of the aggregated utterance data. Each response contains information about the number of times that the utterance was seen during the time period, whether it was detected or missed, and when it was seen during the time period.
- Parameters:
aggregatedUtterancesSummaries
- Summaries of the aggregated utterance data. Each response contains information about the number of times that the utterance was seen during the time period, whether it was detected or missed, and when it was seen during the time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregatedUtterancesSummaries
ListAggregatedUtterancesResponse.Builder aggregatedUtterancesSummaries(AggregatedUtterancesSummary... aggregatedUtterancesSummaries) Summaries of the aggregated utterance data. Each response contains information about the number of times that the utterance was seen during the time period, whether it was detected or missed, and when it was seen during the time period.
- Parameters:
aggregatedUtterancesSummaries
- Summaries of the aggregated utterance data. Each response contains information about the number of times that the utterance was seen during the time period, whether it was detected or missed, and when it was seen during the time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregatedUtterancesSummaries
ListAggregatedUtterancesResponse.Builder aggregatedUtterancesSummaries(Consumer<AggregatedUtterancesSummary.Builder>... aggregatedUtterancesSummaries) Summaries of the aggregated utterance data. Each response contains information about the number of times that the utterance was seen during the time period, whether it was detected or missed, and when it was seen during the time period.
This is a convenience method that creates an instance of theAggregatedUtterancesSummary.Builder
avoiding the need to create one manually viaAggregatedUtterancesSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaggregatedUtterancesSummaries(List<AggregatedUtterancesSummary>)
.- Parameters:
aggregatedUtterancesSummaries
- a consumer that will call methods onAggregatedUtterancesSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates whether there are more results to return in a response to the
ListAggregatedUtterances
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListAggregatedUtterances
operation request to get the next page of results.- Parameters:
nextToken
- A token that indicates whether there are more results to return in a response to theListAggregatedUtterances
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListAggregatedUtterances
operation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-