Package com.pulumi.aws.lex.inputs
Class SlotTypeState.Builder
- java.lang.Object
-
- com.pulumi.aws.lex.inputs.SlotTypeState.Builder
-
- Enclosing class:
- SlotTypeState
public static final class SlotTypeState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SlotTypeState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlotTypeStatebuild()SlotTypeState.Builderchecksum(com.pulumi.core.Output<java.lang.String> checksum)SlotTypeState.Builderchecksum(java.lang.String checksum)SlotTypeState.BuildercreatedDate(com.pulumi.core.Output<java.lang.String> createdDate)SlotTypeState.BuildercreatedDate(java.lang.String createdDate)SlotTypeState.BuildercreateVersion(com.pulumi.core.Output<java.lang.Boolean> createVersion)SlotTypeState.BuildercreateVersion(java.lang.Boolean createVersion)SlotTypeState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)SlotTypeState.Builderdescription(java.lang.String description)SlotTypeState.BuilderenumerationValues(SlotTypeEnumerationValueArgs... enumerationValues)SlotTypeState.BuilderenumerationValues(com.pulumi.core.Output<java.util.List<SlotTypeEnumerationValueArgs>> enumerationValues)SlotTypeState.BuilderenumerationValues(java.util.List<SlotTypeEnumerationValueArgs> enumerationValues)SlotTypeState.BuilderlastUpdatedDate(com.pulumi.core.Output<java.lang.String> lastUpdatedDate)SlotTypeState.BuilderlastUpdatedDate(java.lang.String lastUpdatedDate)SlotTypeState.Buildername(com.pulumi.core.Output<java.lang.String> name)SlotTypeState.Buildername(java.lang.String name)SlotTypeState.Builderregion(com.pulumi.core.Output<java.lang.String> region)SlotTypeState.Builderregion(java.lang.String region)SlotTypeState.BuildervalueSelectionStrategy(com.pulumi.core.Output<java.lang.String> valueSelectionStrategy)SlotTypeState.BuildervalueSelectionStrategy(java.lang.String valueSelectionStrategy)SlotTypeState.Builderversion(com.pulumi.core.Output<java.lang.String> version)SlotTypeState.Builderversion(java.lang.String version)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SlotTypeState defaults)
-
-
Method Detail
-
checksum
public SlotTypeState.Builder checksum(@Nullable com.pulumi.core.Output<java.lang.String> checksum)
- Parameters:
checksum- Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.- Returns:
- builder
-
checksum
public SlotTypeState.Builder checksum(java.lang.String checksum)
- Parameters:
checksum- Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.- Returns:
- builder
-
createVersion
public SlotTypeState.Builder createVersion(@Nullable com.pulumi.core.Output<java.lang.Boolean> createVersion)
- Parameters:
createVersion- Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to `false`.- Returns:
- builder
-
createVersion
public SlotTypeState.Builder createVersion(java.lang.Boolean createVersion)
- Parameters:
createVersion- Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to `false`.- Returns:
- builder
-
createdDate
public SlotTypeState.Builder createdDate(@Nullable com.pulumi.core.Output<java.lang.String> createdDate)
- Parameters:
createdDate- The date when the slot type version was created.- Returns:
- builder
-
createdDate
public SlotTypeState.Builder createdDate(java.lang.String createdDate)
- Parameters:
createdDate- The date when the slot type version was created.- Returns:
- builder
-
description
public SlotTypeState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- A description of the slot type. Must be less than or equal to 200 characters in length.- Returns:
- builder
-
description
public SlotTypeState.Builder description(java.lang.String description)
- Parameters:
description- A description of the slot type. Must be less than or equal to 200 characters in length.- Returns:
- builder
-
enumerationValues
public SlotTypeState.Builder enumerationValues(@Nullable com.pulumi.core.Output<java.util.List<SlotTypeEnumerationValueArgs>> enumerationValues)
- Parameters:
enumerationValues- A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.- Returns:
- builder
-
enumerationValues
public SlotTypeState.Builder enumerationValues(java.util.List<SlotTypeEnumerationValueArgs> enumerationValues)
- Parameters:
enumerationValues- A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.- Returns:
- builder
-
enumerationValues
public SlotTypeState.Builder enumerationValues(SlotTypeEnumerationValueArgs... enumerationValues)
- Parameters:
enumerationValues- A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.- Returns:
- builder
-
lastUpdatedDate
public SlotTypeState.Builder lastUpdatedDate(@Nullable com.pulumi.core.Output<java.lang.String> lastUpdatedDate)
- Parameters:
lastUpdatedDate- The date when the `$LATEST` version of this slot type was updated.- Returns:
- builder
-
lastUpdatedDate
public SlotTypeState.Builder lastUpdatedDate(java.lang.String lastUpdatedDate)
- Parameters:
lastUpdatedDate- The date when the `$LATEST` version of this slot type was updated.- Returns:
- builder
-
name
public SlotTypeState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.- Returns:
- builder
-
name
public SlotTypeState.Builder name(java.lang.String name)
- Parameters:
name- The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.- Returns:
- builder
-
region
public SlotTypeState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public SlotTypeState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
valueSelectionStrategy
public SlotTypeState.Builder valueSelectionStrategy(@Nullable com.pulumi.core.Output<java.lang.String> valueSelectionStrategy)
- Parameters:
valueSelectionStrategy- Determines the slot resolution strategy that Amazon Lex uses to return slot type values. `ORIGINAL_VALUE` returns the value entered by the user if the user value is similar to the slot value. `TOP_RESOLUTION` returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to `ORIGINAL_VALUE`.- Returns:
- builder
-
valueSelectionStrategy
public SlotTypeState.Builder valueSelectionStrategy(java.lang.String valueSelectionStrategy)
- Parameters:
valueSelectionStrategy- Determines the slot resolution strategy that Amazon Lex uses to return slot type values. `ORIGINAL_VALUE` returns the value entered by the user if the user value is similar to the slot value. `TOP_RESOLUTION` returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to `ORIGINAL_VALUE`.- Returns:
- builder
-
version
public SlotTypeState.Builder version(@Nullable com.pulumi.core.Output<java.lang.String> version)
- Parameters:
version- The version of the slot type.- Returns:
- builder
-
version
public SlotTypeState.Builder version(java.lang.String version)
- Parameters:
version- The version of the slot type.- Returns:
- builder
-
build
public SlotTypeState build()
-
-