Interface GetSlotTypesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSlotTypesResponse.Builder,GetSlotTypesResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetSlotTypesResponse.Builder,GetSlotTypesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSlotTypesResponse
public static interface GetSlotTypesResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetSlotTypesResponse.Builder,GetSlotTypesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetSlotTypesResponse.BuildernextToken(String nextToken)If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types.GetSlotTypesResponse.BuilderslotTypes(Collection<SlotTypeMetadata> slotTypes)An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.GetSlotTypesResponse.BuilderslotTypes(Consumer<SlotTypeMetadata.Builder>... slotTypes)An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.GetSlotTypesResponse.BuilderslotTypes(SlotTypeMetadata... slotTypes)An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.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
-
slotTypes
GetSlotTypesResponse.Builder slotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
- Parameters:
slotTypes- An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypes
GetSlotTypesResponse.Builder slotTypes(SlotTypeMetadata... slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
- Parameters:
slotTypes- An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypes
GetSlotTypesResponse.Builder slotTypes(Consumer<SlotTypeMetadata.Builder>... slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
This is a convenience method that creates an instance of theSlotTypeMetadata.Builderavoiding the need to create one manually viaSlotTypeMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slotTypes(List.) - Parameters:
slotTypes- a consumer that will call methods onSlotTypeMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#slotTypes(java.util.Collection)
-
nextToken
GetSlotTypesResponse.Builder nextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types.
- Parameters:
nextToken- If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-