Interface PutSlotTypeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutSlotTypeResponse.Builder,PutSlotTypeResponse>,LexModelBuildingResponse.Builder,SdkBuilder<PutSlotTypeResponse.Builder,PutSlotTypeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutSlotTypeResponse
public static interface PutSlotTypeResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<PutSlotTypeResponse.Builder,PutSlotTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutSlotTypeResponse.Builderchecksum(String checksum)Checksum of the$LATESTversion of the slot type.PutSlotTypeResponse.BuildercreatedDate(Instant createdDate)The date that the slot type was created.PutSlotTypeResponse.BuildercreateVersion(Boolean createVersion)Trueif a new version of the slot type was created.PutSlotTypeResponse.Builderdescription(String description)A description of the slot type.PutSlotTypeResponse.BuilderenumerationValues(Collection<EnumerationValue> enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.PutSlotTypeResponse.BuilderenumerationValues(Consumer<EnumerationValue.Builder>... enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.PutSlotTypeResponse.BuilderenumerationValues(EnumerationValue... enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.PutSlotTypeResponse.BuilderlastUpdatedDate(Instant lastUpdatedDate)The date that the slot type was updated.PutSlotTypeResponse.Buildername(String name)The name of the slot type.PutSlotTypeResponse.BuilderparentSlotTypeSignature(String parentSlotTypeSignature)The built-in slot type used as the parent of the slot type.PutSlotTypeResponse.BuilderslotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations)Configuration information that extends the parent built-in slot type.PutSlotTypeResponse.BuilderslotTypeConfigurations(Consumer<SlotTypeConfiguration.Builder>... slotTypeConfigurations)Configuration information that extends the parent built-in slot type.PutSlotTypeResponse.BuilderslotTypeConfigurations(SlotTypeConfiguration... slotTypeConfigurations)Configuration information that extends the parent built-in slot type.PutSlotTypeResponse.BuildervalueSelectionStrategy(String valueSelectionStrategy)The slot resolution strategy that Amazon Lex uses to determine the value of the slot.PutSlotTypeResponse.BuildervalueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)The slot resolution strategy that Amazon Lex uses to determine the value of the slot.PutSlotTypeResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
PutSlotTypeResponse.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
PutSlotTypeResponse.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
PutSlotTypeResponse.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
PutSlotTypeResponse.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
PutSlotTypeResponse.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
PutSlotTypeResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date that the slot type was updated. When you create a slot type, the creation date and last update date are the same.
- Parameters:
lastUpdatedDate- The date that the slot type was updated. When you create a slot type, 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
PutSlotTypeResponse.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
PutSlotTypeResponse.Builder version(String version)
The version of the slot type. For a new slot type, the version is always
$LATEST.- Parameters:
version- The version of the slot type. For a new slot type, the version is always$LATEST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
PutSlotTypeResponse.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
PutSlotTypeResponse.Builder valueSelectionStrategy(String valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
- Parameters:
valueSelectionStrategy- The slot resolution 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
PutSlotTypeResponse.Builder valueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
- Parameters:
valueSelectionStrategy- The slot resolution 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
-
createVersion
PutSlotTypeResponse.Builder createVersion(Boolean createVersion)
Trueif a new version of the slot type was created. If thecreateVersionfield was not specified in the request, thecreateVersionfield is set to false in the response.- Parameters:
createVersion-Trueif a new version of the slot type was created. If thecreateVersionfield was not specified in the request, thecreateVersionfield is set to false in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentSlotTypeSignature
PutSlotTypeResponse.Builder parentSlotTypeSignature(String parentSlotTypeSignature)
The built-in slot type used as the parent of the slot type.
- Parameters:
parentSlotTypeSignature- The built-in slot type used as the parent of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeConfigurations
PutSlotTypeResponse.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
PutSlotTypeResponse.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
PutSlotTypeResponse.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)
-
-