Interface GetSlotTypeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSlotTypeResponse.Builder,
,GetSlotTypeResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetSlotTypeResponse.Builder,
,GetSlotTypeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSlotTypeResponse
-
Method Summary
Modifier and TypeMethodDescriptionChecksum of the$LATEST
version of the slot type.createdDate
(Instant createdDate) The date that the slot type was created.description
(String description) A description of the slot type.enumerationValues
(Collection<EnumerationValue> enumerationValues) A list ofEnumerationValue
objects that defines the values that the slot type can take.enumerationValues
(Consumer<EnumerationValue.Builder>... enumerationValues) A list ofEnumerationValue
objects that defines the values that the slot type can take.enumerationValues
(EnumerationValue... enumerationValues) A list ofEnumerationValue
objects that defines the values that the slot type can take.lastUpdatedDate
(Instant lastUpdatedDate) The date that the slot type was updated.The name of the slot type.parentSlotTypeSignature
(String parentSlotTypeSignature) The built-in slot type used as a parent for the slot type.slotTypeConfigurations
(Collection<SlotTypeConfiguration> slotTypeConfigurations) Configuration information that extends the parent built-in slot type.slotTypeConfigurations
(Consumer<SlotTypeConfiguration.Builder>... slotTypeConfigurations) Configuration information that extends the parent built-in slot type.slotTypeConfigurations
(SlotTypeConfiguration... slotTypeConfigurations) Configuration information that extends the parent built-in slot type.valueSelectionStrategy
(String valueSelectionStrategy) The strategy that Amazon Lex uses to determine the value of the slot.valueSelectionStrategy
(SlotValueSelectionStrategy valueSelectionStrategy) The strategy that Amazon Lex uses to determine the value of the slot.The version of the slot type.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
-
name
The name of the slot type.
- Parameters:
name
- The name of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the slot type.
- Parameters:
description
- A description of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enumerationValues
A list of
EnumerationValue
objects that defines the values that the slot type can take.- Parameters:
enumerationValues
- A list ofEnumerationValue
objects that defines the values that the slot type can take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enumerationValues
A list of
EnumerationValue
objects that defines the values that the slot type can take.- Parameters:
enumerationValues
- A list ofEnumerationValue
objects that defines the values that the slot type can take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enumerationValues
GetSlotTypeResponse.Builder enumerationValues(Consumer<EnumerationValue.Builder>... enumerationValues) A list of
This is a convenience method that creates an instance of theEnumerationValue
objects that defines the values that the slot type can take.EnumerationValue.Builder
avoiding the need to create one manually viaEnumerationValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenumerationValues(List<EnumerationValue>)
.- Parameters:
enumerationValues
- a consumer that will call methods onEnumerationValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedDate
The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.
- Parameters:
lastUpdatedDate
- The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The date that the slot type was created.
- Parameters:
createdDate
- The date that the slot type was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the slot type.
- Parameters:
version
- The version of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
Checksum of the
$LATEST
version of the slot type.- Parameters:
checksum
- Checksum of the$LATEST
version of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueSelectionStrategy
The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
- Parameters:
valueSelectionStrategy
- The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
valueSelectionStrategy
GetSlotTypeResponse.Builder valueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy) The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
- Parameters:
valueSelectionStrategy
- The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parentSlotTypeSignature
The built-in slot type used as a parent for the slot type.
- Parameters:
parentSlotTypeSignature
- The built-in slot type used as a parent for the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeConfigurations
GetSlotTypeResponse.Builder slotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations) Configuration information that extends the parent built-in slot type.
- Parameters:
slotTypeConfigurations
- Configuration information that extends the parent built-in slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeConfigurations
Configuration information that extends the parent built-in slot type.
- Parameters:
slotTypeConfigurations
- Configuration information that extends the parent built-in slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeConfigurations
GetSlotTypeResponse.Builder slotTypeConfigurations(Consumer<SlotTypeConfiguration.Builder>... slotTypeConfigurations) Configuration information that extends the parent built-in slot type.
This is a convenience method that creates an instance of theSlotTypeConfiguration.Builder
avoiding the need to create one manually viaSlotTypeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslotTypeConfigurations(List<SlotTypeConfiguration>)
.- Parameters:
slotTypeConfigurations
- a consumer that will call methods onSlotTypeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-