Interface CreateSlotTypeVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSlotTypeVersionResponse.Builder,CreateSlotTypeVersionResponse>,LexModelBuildingResponse.Builder,SdkBuilder<CreateSlotTypeVersionResponse.Builder,CreateSlotTypeVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSlotTypeVersionResponse
public static interface CreateSlotTypeVersionResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<CreateSlotTypeVersionResponse.Builder,CreateSlotTypeVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSlotTypeVersionResponse.Builderchecksum(String checksum)Checksum of the$LATESTversion of the slot type.CreateSlotTypeVersionResponse.BuildercreatedDate(Instant createdDate)The date that the slot type was created.CreateSlotTypeVersionResponse.Builderdescription(String description)A description of the slot type.CreateSlotTypeVersionResponse.BuilderenumerationValues(Collection<EnumerationValue> enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.CreateSlotTypeVersionResponse.BuilderenumerationValues(Consumer<EnumerationValue.Builder>... enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.CreateSlotTypeVersionResponse.BuilderenumerationValues(EnumerationValue... enumerationValues)A list ofEnumerationValueobjects that defines the values that the slot type can take.CreateSlotTypeVersionResponse.BuilderlastUpdatedDate(Instant lastUpdatedDate)The date that the slot type was updated.CreateSlotTypeVersionResponse.Buildername(String name)The name of the slot type.CreateSlotTypeVersionResponse.BuilderparentSlotTypeSignature(String parentSlotTypeSignature)The built-in slot type used a the parent of the slot type.CreateSlotTypeVersionResponse.BuilderslotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations)Configuration information that extends the parent built-in slot type.CreateSlotTypeVersionResponse.BuilderslotTypeConfigurations(Consumer<SlotTypeConfiguration.Builder>... slotTypeConfigurations)Configuration information that extends the parent built-in slot type.CreateSlotTypeVersionResponse.BuilderslotTypeConfigurations(SlotTypeConfiguration... slotTypeConfigurations)Configuration information that extends the parent built-in slot type.CreateSlotTypeVersionResponse.BuildervalueSelectionStrategy(String valueSelectionStrategy)The strategy that Amazon Lex uses to determine the value of the slot.CreateSlotTypeVersionResponse.BuildervalueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)The strategy that Amazon Lex uses to determine the value of the slot.CreateSlotTypeVersionResponse.Builderversion(String version)The version assigned to the new slot type version.-
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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.Builder version(String version)
The version assigned to the new slot type version.
- Parameters:
version- The version assigned to the new slot type version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.Builder parentSlotTypeSignature(String parentSlotTypeSignature)
The built-in slot type used a the parent of the slot type.
- Parameters:
parentSlotTypeSignature- The built-in slot type used a the parent of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeConfigurations
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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
CreateSlotTypeVersionResponse.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)
-
-