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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBuiltinSlotTypesResponse.BuildernextToken(String 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.GetBuiltinSlotTypesResponse.BuilderslotTypes(Collection<BuiltinSlotTypeMetadata> slotTypes)An array ofBuiltInSlotTypeMetadataobjects, one entry for each slot type returned.GetBuiltinSlotTypesResponse.BuilderslotTypes(Consumer<BuiltinSlotTypeMetadata.Builder>... slotTypes)An array ofBuiltInSlotTypeMetadataobjects, one entry for each slot type returned.GetBuiltinSlotTypesResponse.BuilderslotTypes(BuiltinSlotTypeMetadata... slotTypes)An array ofBuiltInSlotTypeMetadataobjects, 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
slotTypes
GetBuiltinSlotTypesResponse.Builder slotTypes(Collection<BuiltinSlotTypeMetadata> slotTypes)
An array of
BuiltInSlotTypeMetadataobjects, one entry for each slot type returned.- Parameters:
slotTypes- An array ofBuiltInSlotTypeMetadataobjects, 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(BuiltinSlotTypeMetadata... slotTypes)
An array of
BuiltInSlotTypeMetadataobjects, one entry for each slot type returned.- Parameters:
slotTypes- An array ofBuiltInSlotTypeMetadataobjects, 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 theBuiltInSlotTypeMetadataobjects, one entry for each slot type returned.BuiltinSlotTypeMetadata.Builderavoiding the need to create one manually viaBuiltinSlotTypeMetadata.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 onBuiltinSlotTypeMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#slotTypes(java.util.Collection)
-
nextToken
GetBuiltinSlotTypesResponse.Builder nextToken(String 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.
-
-