Class V2modelsSlotState.Builder

  • Enclosing class:
    V2modelsSlotState

    public static final class V2modelsSlotState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • botId

        public V2modelsSlotState.Builder botId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> botId)
        Parameters:
        botId - Identifier of the bot associated with the slot.
        Returns:
        builder
      • botId

        public V2modelsSlotState.Builder botId​(java.lang.String botId)
        Parameters:
        botId - Identifier of the bot associated with the slot.
        Returns:
        builder
      • botVersion

        public V2modelsSlotState.Builder botVersion​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> botVersion)
        Parameters:
        botVersion - Version of the bot associated with the slot.
        Returns:
        builder
      • botVersion

        public V2modelsSlotState.Builder botVersion​(java.lang.String botVersion)
        Parameters:
        botVersion - Version of the bot associated with the slot.
        Returns:
        builder
      • description

        public V2modelsSlotState.Builder description​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the slot.
        Returns:
        builder
      • description

        public V2modelsSlotState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the slot.
        Returns:
        builder
      • intentId

        public V2modelsSlotState.Builder intentId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> intentId)
        Parameters:
        intentId - Identifier of the intent that contains the slot.
        Returns:
        builder
      • intentId

        public V2modelsSlotState.Builder intentId​(java.lang.String intentId)
        Parameters:
        intentId - Identifier of the intent that contains the slot.
        Returns:
        builder
      • localeId

        public V2modelsSlotState.Builder localeId​(@Nullable
                                                  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 V2modelsSlotState.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 V2modelsSlotState.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 V2modelsSlotState.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 V2modelsSlotState.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 V2modelsSlotState.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the slot.
        Returns:
        builder
      • name

        public V2modelsSlotState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the slot.
        Returns:
        builder
      • obfuscationSettings

        public V2modelsSlotState.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 V2modelsSlotState.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 V2modelsSlotState.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 V2modelsSlotState.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 V2modelsSlotState.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
      • slotId

        public V2modelsSlotState.Builder slotId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> slotId)
        Parameters:
        slotId - Unique identifier associated with the slot.
        Returns:
        builder
      • slotId

        public V2modelsSlotState.Builder slotId​(java.lang.String slotId)
        Parameters:
        slotId - Unique identifier associated with the slot.
        Returns:
        builder
      • slotTypeId

        public V2modelsSlotState.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 V2modelsSlotState.Builder slotTypeId​(java.lang.String slotTypeId)
        Parameters:
        slotTypeId - Unique identifier for the slot type associated with this slot.
        Returns:
        builder
      • subSlotSettings

        public V2modelsSlotState.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 V2modelsSlotState.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 V2modelsSlotState.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
      • valueElicitationSetting

        public V2modelsSlotState.Builder valueElicitationSetting​(@Nullable
                                                                 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 V2modelsSlotState.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