Package com.pulumi.aws.lex
Class V2modelsSlotArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lex.V2modelsSlotArgs.Builder
-
- Enclosing class:
- V2modelsSlotArgs
public static final class V2modelsSlotArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(V2modelsSlotArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(V2modelsSlotArgs defaults)
-
-
Method Detail
-
botId
public V2modelsSlotArgs.Builder botId(com.pulumi.core.Output<java.lang.String> botId)
- Parameters:
botId- Identifier of the bot associated with the slot.- Returns:
- builder
-
botId
public V2modelsSlotArgs.Builder botId(java.lang.String botId)
- Parameters:
botId- Identifier of the bot associated with the slot.- Returns:
- builder
-
botVersion
public V2modelsSlotArgs.Builder botVersion(com.pulumi.core.Output<java.lang.String> botVersion)
- Parameters:
botVersion- Version of the bot associated with the slot.- Returns:
- builder
-
botVersion
public V2modelsSlotArgs.Builder botVersion(java.lang.String botVersion)
- Parameters:
botVersion- Version of the bot associated with the slot.- Returns:
- builder
-
description
public V2modelsSlotArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description of the slot.- Returns:
- builder
-
description
public V2modelsSlotArgs.Builder description(java.lang.String description)
- Parameters:
description- Description of the slot.- Returns:
- builder
-
intentId
public V2modelsSlotArgs.Builder intentId(com.pulumi.core.Output<java.lang.String> intentId)
- Parameters:
intentId- Identifier of the intent that contains the slot.- Returns:
- builder
-
intentId
public V2modelsSlotArgs.Builder intentId(java.lang.String intentId)
- Parameters:
intentId- Identifier of the intent that contains the slot.- Returns:
- builder
-
localeId
public V2modelsSlotArgs.Builder localeId(com.pulumi.core.Output<java.lang.String> localeId)
- Parameters:
localeId- Identifier of the language and locale that the slot will be used in.- Returns:
- builder
-
localeId
public V2modelsSlotArgs.Builder localeId(java.lang.String localeId)
- Parameters:
localeId- Identifier of the language and locale that the slot will be used in.- Returns:
- builder
-
multipleValuesSettings
public V2modelsSlotArgs.Builder multipleValuesSettings(@Nullable com.pulumi.core.Output<java.util.List<V2modelsSlotMultipleValuesSettingArgs>> multipleValuesSettings)
- Parameters:
multipleValuesSettings- Whether the slot returns multiple values in one response. See the `multipleValuesSetting` argument reference below.- Returns:
- builder
-
multipleValuesSettings
public V2modelsSlotArgs.Builder multipleValuesSettings(java.util.List<V2modelsSlotMultipleValuesSettingArgs> multipleValuesSettings)
- Parameters:
multipleValuesSettings- Whether the slot returns multiple values in one response. See the `multipleValuesSetting` argument reference below.- Returns:
- builder
-
multipleValuesSettings
public V2modelsSlotArgs.Builder multipleValuesSettings(V2modelsSlotMultipleValuesSettingArgs... multipleValuesSettings)
- Parameters:
multipleValuesSettings- Whether the slot returns multiple values in one response. See the `multipleValuesSetting` argument reference below.- Returns:
- builder
-
name
public V2modelsSlotArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the slot.- Returns:
- builder
-
name
public V2modelsSlotArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the slot.- Returns:
- builder
-
obfuscationSettings
public V2modelsSlotArgs.Builder obfuscationSettings(@Nullable com.pulumi.core.Output<java.util.List<V2modelsSlotObfuscationSettingArgs>> obfuscationSettings)
- Parameters:
obfuscationSettings- Determines how slot values are used in Amazon CloudWatch logs. See the `obfuscationSetting` argument reference below.- Returns:
- builder
-
obfuscationSettings
public V2modelsSlotArgs.Builder obfuscationSettings(java.util.List<V2modelsSlotObfuscationSettingArgs> obfuscationSettings)
- Parameters:
obfuscationSettings- Determines how slot values are used in Amazon CloudWatch logs. See the `obfuscationSetting` argument reference below.- Returns:
- builder
-
obfuscationSettings
public V2modelsSlotArgs.Builder obfuscationSettings(V2modelsSlotObfuscationSettingArgs... obfuscationSettings)
- Parameters:
obfuscationSettings- Determines how slot values are used in Amazon CloudWatch logs. See the `obfuscationSetting` argument reference below.- Returns:
- builder
-
region
public V2modelsSlotArgs.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 V2modelsSlotArgs.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
-
slotTypeId
public V2modelsSlotArgs.Builder slotTypeId(@Nullable com.pulumi.core.Output<java.lang.String> slotTypeId)
- Parameters:
slotTypeId- Unique identifier for the slot type associated with this slot.- Returns:
- builder
-
slotTypeId
public V2modelsSlotArgs.Builder slotTypeId(java.lang.String slotTypeId)
- Parameters:
slotTypeId- Unique identifier for the slot type associated with this slot.- Returns:
- builder
-
subSlotSettings
public V2modelsSlotArgs.Builder subSlotSettings(@Nullable com.pulumi.core.Output<java.util.List<V2modelsSlotSubSlotSettingArgs>> subSlotSettings)
- Parameters:
subSlotSettings- Specifications for the constituent sub slots and the expression for the composite slot. See the `subSlotSetting` argument reference below.- Returns:
- builder
-
subSlotSettings
public V2modelsSlotArgs.Builder subSlotSettings(java.util.List<V2modelsSlotSubSlotSettingArgs> subSlotSettings)
- Parameters:
subSlotSettings- Specifications for the constituent sub slots and the expression for the composite slot. See the `subSlotSetting` argument reference below.- Returns:
- builder
-
subSlotSettings
public V2modelsSlotArgs.Builder subSlotSettings(V2modelsSlotSubSlotSettingArgs... subSlotSettings)
- Parameters:
subSlotSettings- Specifications for the constituent sub slots and the expression for the composite slot. See the `subSlotSetting` argument reference below.- Returns:
- builder
-
timeouts
public V2modelsSlotArgs.Builder timeouts(@Nullable com.pulumi.core.Output<V2modelsSlotTimeoutsArgs> timeouts)
-
timeouts
public V2modelsSlotArgs.Builder timeouts(V2modelsSlotTimeoutsArgs timeouts)
-
valueElicitationSetting
public V2modelsSlotArgs.Builder valueElicitationSetting(com.pulumi.core.Output<V2modelsSlotValueElicitationSettingArgs> valueElicitationSetting)
- Parameters:
valueElicitationSetting- Prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot. If you configure this block without `prompt_specification.*.prompt_attempts_specification`, AWS will provide default `promptAttemptsSpecification` blocks for the initial prompt (map key `Initial`) and each retry attempt (map keys `Retry1`, `Retry2`, etc.). This will cause Terraform to report differences. Use the `valueElicitationSetting` configuration above in the `valueElicitationSetting` example to avoid differences resulting from AWS default configurations. See the `valueElicitationSetting` argument reference below. The following arguments are optional:- Returns:
- builder
-
valueElicitationSetting
public V2modelsSlotArgs.Builder valueElicitationSetting(V2modelsSlotValueElicitationSettingArgs valueElicitationSetting)
- Parameters:
valueElicitationSetting- Prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot. If you configure this block without `prompt_specification.*.prompt_attempts_specification`, AWS will provide default `promptAttemptsSpecification` blocks for the initial prompt (map key `Initial`) and each retry attempt (map keys `Retry1`, `Retry2`, etc.). This will cause Terraform to report differences. Use the `valueElicitationSetting` configuration above in the `valueElicitationSetting` example to avoid differences resulting from AWS default configurations. See the `valueElicitationSetting` argument reference below. The following arguments are optional:- Returns:
- builder
-
build
public V2modelsSlotArgs build()
-
-