Interface ListSlotTypesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSlotTypesResponse.Builder,ListSlotTypesResponse>,LexModelsV2Response.Builder,SdkBuilder<ListSlotTypesResponse.Builder,ListSlotTypesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSlotTypesResponse
public static interface ListSlotTypesResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListSlotTypesResponse.Builder,ListSlotTypesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSlotTypesResponse.BuilderbotId(String botId)The identifier of the bot that contains the slot types.ListSlotTypesResponse.BuilderbotVersion(String botVersion)The version of the bot that contains the slot types.ListSlotTypesResponse.BuilderlocaleId(String localeId)The language and local of the slot types in the list.ListSlotTypesResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListSlotTypesoperation.ListSlotTypesResponse.BuilderslotTypeSummaries(Collection<SlotTypeSummary> slotTypeSummaries)Summary information for the slot types that meet the filter criteria specified in the request.ListSlotTypesResponse.BuilderslotTypeSummaries(Consumer<SlotTypeSummary.Builder>... slotTypeSummaries)Summary information for the slot types that meet the filter criteria specified in the request.ListSlotTypesResponse.BuilderslotTypeSummaries(SlotTypeSummary... slotTypeSummaries)Summary information for the slot types that meet the filter criteria specified in the request.-
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
ListSlotTypesResponse.Builder botId(String botId)
The identifier of the bot that contains the slot types.
- Parameters:
botId- The identifier of the bot that contains the slot types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
ListSlotTypesResponse.Builder botVersion(String botVersion)
The version of the bot that contains the slot types.
- Parameters:
botVersion- The version of the bot that contains the slot types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
ListSlotTypesResponse.Builder localeId(String localeId)
The language and local of the slot types in the list.
- Parameters:
localeId- The language and local of the slot types in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeSummaries
ListSlotTypesResponse.Builder slotTypeSummaries(Collection<SlotTypeSummary> slotTypeSummaries)
Summary information for the slot types 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 slot types available, thenextTokenfield contains a token to get the next page of results.- Parameters:
slotTypeSummaries- Summary information for the slot types 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 slot types 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.
-
slotTypeSummaries
ListSlotTypesResponse.Builder slotTypeSummaries(SlotTypeSummary... slotTypeSummaries)
Summary information for the slot types 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 slot types available, thenextTokenfield contains a token to get the next page of results.- Parameters:
slotTypeSummaries- Summary information for the slot types 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 slot types 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.
-
slotTypeSummaries
ListSlotTypesResponse.Builder slotTypeSummaries(Consumer<SlotTypeSummary.Builder>... slotTypeSummaries)
Summary information for the slot types 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 slot types available, thenextTokenfield contains a token to get the next page of results.SlotTypeSummary.Builderavoiding the need to create one manually viaSlotTypeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slotTypeSummaries(List.) - Parameters:
slotTypeSummaries- a consumer that will call methods onSlotTypeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#slotTypeSummaries(java.util.Collection)
-
nextToken
ListSlotTypesResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListSlotTypesoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListSlotTypesoperation 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 theListSlotTypesoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListSlotTypesoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-