Interface ListAggregatedUtterancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAggregatedUtterancesResponse.Builder,ListAggregatedUtterancesResponse>,LexModelsV2Response.Builder,SdkBuilder<ListAggregatedUtterancesResponse.Builder,ListAggregatedUtterancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAggregatedUtterancesResponse
public static interface ListAggregatedUtterancesResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListAggregatedUtterancesResponse.Builder,ListAggregatedUtterancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListAggregatedUtterancesResponse.BuilderaggregatedUtterancesSummaries(Collection<AggregatedUtterancesSummary> aggregatedUtterancesSummaries)Summaries of the aggregated utterance data.ListAggregatedUtterancesResponse.BuilderaggregatedUtterancesSummaries(Consumer<AggregatedUtterancesSummary.Builder>... aggregatedUtterancesSummaries)Summaries of the aggregated utterance data.ListAggregatedUtterancesResponse.BuilderaggregatedUtterancesSummaries(AggregatedUtterancesSummary... aggregatedUtterancesSummaries)Summaries of the aggregated utterance data.default ListAggregatedUtterancesResponse.BuilderaggregationDuration(Consumer<UtteranceAggregationDuration.Builder> aggregationDuration)The time period used to aggregate the utterance data.ListAggregatedUtterancesResponse.BuilderaggregationDuration(UtteranceAggregationDuration aggregationDuration)The time period used to aggregate the utterance data.ListAggregatedUtterancesResponse.BuilderaggregationLastRefreshedDateTime(Instant aggregationLastRefreshedDateTime)The last date and time that the aggregated data was collected.ListAggregatedUtterancesResponse.BuilderaggregationWindowEndTime(Instant aggregationWindowEndTime)The date and time that the aggregation window ends.ListAggregatedUtterancesResponse.BuilderaggregationWindowStartTime(Instant aggregationWindowStartTime)The date and time that the aggregation window begins.ListAggregatedUtterancesResponse.BuilderbotAliasId(String botAliasId)The identifier of the bot alias that contains the utterances.ListAggregatedUtterancesResponse.BuilderbotId(String botId)The identifier of the bot that contains the utterances.ListAggregatedUtterancesResponse.BuilderbotVersion(String botVersion)The identifier of the bot version that contains the utterances.ListAggregatedUtterancesResponse.BuilderlocaleId(String localeId)The identifier of the language and locale that the utterances are in.ListAggregatedUtterancesResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListAggregatedUtterancesoperation.-
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 Detail
-
botId
ListAggregatedUtterancesResponse.Builder botId(String 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
ListAggregatedUtterancesResponse.Builder botAliasId(String 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
ListAggregatedUtterancesResponse.Builder botVersion(String 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
ListAggregatedUtterancesResponse.Builder localeId(String 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.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)
-
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
ListAggregatedUtterancesResponse.Builder aggregationWindowEndTime(Instant 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.Builderavoiding the need to create one manually viaAggregatedUtterancesSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#aggregatedUtterancesSummaries(List.) - 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:
#aggregatedUtterancesSummaries(java.util.Collection)
-
nextToken
ListAggregatedUtterancesResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListAggregatedUtterancesoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListAggregatedUtterancesoperation 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 theListAggregatedUtterancesoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListAggregatedUtterancesoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-