Interface GetBuiltinSlotTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBuiltinSlotTypesResponse.Builder,
,GetBuiltinSlotTypesResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetBuiltinSlotTypesResponse.Builder,
,GetBuiltinSlotTypesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBuiltinSlotTypesResponse
public static interface GetBuiltinSlotTypesResponse.Builder
extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBuiltinSlotTypesResponse.Builder,GetBuiltinSlotTypesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, the response includes a pagination token that you can use in your next request to fetch the next page of slot types.slotTypes
(Collection<BuiltinSlotTypeMetadata> slotTypes) An array ofBuiltInSlotTypeMetadata
objects, one entry for each slot type returned.slotTypes
(Consumer<BuiltinSlotTypeMetadata.Builder>... slotTypes) An array ofBuiltInSlotTypeMetadata
objects, one entry for each slot type returned.slotTypes
(BuiltinSlotTypeMetadata... slotTypes) An array ofBuiltInSlotTypeMetadata
objects, one entry for each slot type returned.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 Details
-
slotTypes
An array of
BuiltInSlotTypeMetadata
objects, one entry for each slot type returned.- Parameters:
slotTypes
- An array ofBuiltInSlotTypeMetadata
objects, one entry for each slot type returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypes
An array of
BuiltInSlotTypeMetadata
objects, one entry for each slot type returned.- Parameters:
slotTypes
- An array ofBuiltInSlotTypeMetadata
objects, one entry for each slot type returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypes
GetBuiltinSlotTypesResponse.Builder slotTypes(Consumer<BuiltinSlotTypeMetadata.Builder>... slotTypes) An array of
This is a convenience method that creates an instance of theBuiltInSlotTypeMetadata
objects, one entry for each slot type returned.BuiltinSlotTypeMetadata.Builder
avoiding the need to create one manually viaBuiltinSlotTypeMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslotTypes(List<BuiltinSlotTypeMetadata>)
.- Parameters:
slotTypes
- a consumer that will call methods onBuiltinSlotTypeMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, the response includes a pagination token that you can use in your next request to fetch the next page of slot types.
- Parameters:
nextToken
- If the response is truncated, the response includes a pagination token that you can use 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.
-