Interface GetSlotTypeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSlotTypeResponse.Builder,GetSlotTypeResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetSlotTypeResponse.Builder,GetSlotTypeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSlotTypeResponse
public static interface GetSlotTypeResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetSlotTypeResponse.Builder,GetSlotTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetSlotTypeResponse.Builderchecksum(String checksum)Checksum of the$LATESTversion of the slot type.GetSlotTypeResponse.BuildercreatedDate(Instant createdDate)The date that the slot type was created.GetSlotTypeResponse.Builderdescription(String description)A description of the slot type.GetSlotTypeResponse.BuilderenumerationValues(Collection<EnumerationValue> enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.GetSlotTypeResponse.BuilderenumerationValues(Consumer<EnumerationValue.Builder>... enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.GetSlotTypeResponse.BuilderenumerationValues(EnumerationValue... enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.GetSlotTypeResponse.BuilderlastUpdatedDate(Instant lastUpdatedDate)The date that the slot type was updated.GetSlotTypeResponse.Buildername(String name)The name of the slot type.GetSlotTypeResponse.BuilderparentSlotTypeSignature(String parentSlotTypeSignature)The built-in slot type used as a parent for the slot type.GetSlotTypeResponse.BuilderslotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations)Configuration information that extends the parent built-in slot type.GetSlotTypeResponse.BuilderslotTypeConfigurations(Consumer<SlotTypeConfiguration.Builder>... slotTypeConfigurations)Configuration information that extends the parent built-in slot type.GetSlotTypeResponse.BuilderslotTypeConfigurations(SlotTypeConfiguration... slotTypeConfigurations)Configuration information that extends the parent built-in slot type.GetSlotTypeResponse.BuildervalueSelectionStrategy(String valueSelectionStrategy)The strategy that Amazon Lex uses to determine the value of the slot.GetSlotTypeResponse.BuildervalueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)The strategy that Amazon Lex uses to determine the value of the slot.GetSlotTypeResponse.Builderversion(String version)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 Detail
-
name
GetSlotTypeResponse.Builder name(String 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
GetSlotTypeResponse.Builder description(String 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
GetSlotTypeResponse.Builder enumerationValues(Collection<EnumerationValue> enumerationValues)
A list of
EnumerationValueobjects that defines the values that the slot type can take.- Parameters:
enumerationValues- A list ofEnumerationValueobjects 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(EnumerationValue... enumerationValues)
A list of
EnumerationValueobjects that defines the values that the slot type can take.- Parameters:
enumerationValues- A list ofEnumerationValueobjects 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 theEnumerationValueobjects that defines the values that the slot type can take.EnumerationValue.Builderavoiding the need to create one manually viaEnumerationValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#enumerationValues(List.) - 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:
#enumerationValues(java.util.Collection)
-
lastUpdatedDate
GetSlotTypeResponse.Builder lastUpdatedDate(Instant 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
GetSlotTypeResponse.Builder createdDate(Instant 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
GetSlotTypeResponse.Builder version(String 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
GetSlotTypeResponse.Builder checksum(String checksum)
Checksum of the
$LATESTversion of the slot type.- Parameters:
checksum- Checksum of the$LATESTversion of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueSelectionStrategy
GetSlotTypeResponse.Builder valueSelectionStrategy(String 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:
SlotValueSelectionStrategy,SlotValueSelectionStrategy
-
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:
SlotValueSelectionStrategy,SlotValueSelectionStrategy
-
parentSlotTypeSignature
GetSlotTypeResponse.Builder parentSlotTypeSignature(String 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
GetSlotTypeResponse.Builder slotTypeConfigurations(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
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.Builderavoiding the need to create one manually viaSlotTypeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slotTypeConfigurations(List.) - 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:
#slotTypeConfigurations(java.util.Collection)
-
-