Interface ListSlotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSlotsResponse.Builder,,ListSlotsResponse> LexModelsV2Response.Builder,SdkBuilder<ListSlotsResponse.Builder,,ListSlotsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSlotsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the slots.botVersion(String botVersion) The version of the bot that contains the slots.The identifier of the intent that contains the slots.The language and locale of the slots in the list.A token that indicates whether there are more results to return in a response to theListSlotsoperation.slotSummaries(Collection<SlotSummary> slotSummaries) Summary information for the slots that meet the filter criteria specified in the request.slotSummaries(Consumer<SlotSummary.Builder>... slotSummaries) Summary information for the slots that meet the filter criteria specified in the request.slotSummaries(SlotSummary... slotSummaries) Summary information for the slots that meet the filter criteria specified in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
botId
The identifier of the bot that contains the slots.
- Parameters:
botId- The identifier of the bot that contains the slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot that contains the slots.
- Parameters:
botVersion- The version of the bot that contains the slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The language and locale of the slots in the list.
- Parameters:
localeId- The language and locale of the slots in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentId
The identifier of the intent that contains the slots.
- Parameters:
intentId- The identifier of the intent that contains the slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotSummaries
Summary information for the slots that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more slots available, thenextTokenfield contains a token to get the next page of results.- Parameters:
slotSummaries- Summary information for the slots that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter of the request. If there are more slots available, thenextTokenfield contains a token to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotSummaries
Summary information for the slots that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more slots available, thenextTokenfield contains a token to get the next page of results.- Parameters:
slotSummaries- Summary information for the slots that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter of the request. If there are more slots available, thenextTokenfield contains a token to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotSummaries
Summary information for the slots that meet the filter criteria specified in the request. The length of the list is specified in the
This is a convenience method that creates an instance of themaxResultsparameter of the request. If there are more slots available, thenextTokenfield contains a token to get the next page of results.SlotSummary.Builderavoiding the need to create one manually viaSlotSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslotSummaries(List<SlotSummary>).- Parameters:
slotSummaries- a consumer that will call methods onSlotSummary.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
ListSlotsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListSlotsoperation 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 theListSlotsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListSlotsoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-