Interface DescribeSlotResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>, LexModelsV2Response.Builder, SdkBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeSlotResponse

public static interface DescribeSlotResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>
  • Method Details

    • slotId

      The unique identifier generated for the slot.

      Parameters:
      slotId - The unique identifier generated for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotName

      The name specified for the slot.

      Parameters:
      slotName - The name specified for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      DescribeSlotResponse.Builder description(String description)

      The description specified for the slot.

      Parameters:
      description - The description specified for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotTypeId

      DescribeSlotResponse.Builder slotTypeId(String slotTypeId)

      The identifier of the slot type that determines the values entered into the slot.

      Parameters:
      slotTypeId - The identifier of the slot type that determines the values entered into the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • valueElicitationSetting

      DescribeSlotResponse.Builder valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)

      Prompts that Amazon Lex uses to elicit a value for the slot.

      Parameters:
      valueElicitationSetting - Prompts that Amazon Lex uses to elicit a value for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • valueElicitationSetting

      default DescribeSlotResponse.Builder valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting)

      Prompts that Amazon Lex uses to elicit a value for the slot.

      This is a convenience method that creates an instance of the SlotValueElicitationSetting.Builder avoiding the need to create one manually via SlotValueElicitationSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to valueElicitationSetting(SlotValueElicitationSetting).

      Parameters:
      valueElicitationSetting - a consumer that will call methods on SlotValueElicitationSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • obfuscationSetting

      DescribeSlotResponse.Builder obfuscationSetting(ObfuscationSetting obfuscationSetting)

      Whether slot values are shown in Amazon CloudWatch logs. If the value is None, the actual value of the slot is shown in logs.

      Parameters:
      obfuscationSetting - Whether slot values are shown in Amazon CloudWatch logs. If the value is None, the actual value of the slot is shown in logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • obfuscationSetting

      default DescribeSlotResponse.Builder obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)

      Whether slot values are shown in Amazon CloudWatch logs. If the value is None, the actual value of the slot is shown in logs.

      This is a convenience method that creates an instance of the ObfuscationSetting.Builder avoiding the need to create one manually via ObfuscationSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to obfuscationSetting(ObfuscationSetting).

      Parameters:
      obfuscationSetting - a consumer that will call methods on ObfuscationSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • botId

      The identifier of the bot associated with the slot.

      Parameters:
      botId - The identifier of the bot associated with the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersion

      DescribeSlotResponse.Builder botVersion(String botVersion)

      The version of the bot associated with the slot.

      Parameters:
      botVersion - The version of the bot associated with the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localeId

      The language and locale specified for the slot.

      Parameters:
      localeId - The language and locale specified for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • intentId

      The identifier of the intent associated with the slot.

      Parameters:
      intentId - The identifier of the intent associated with the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      DescribeSlotResponse.Builder creationDateTime(Instant creationDateTime)

      A timestamp of the date and time that the slot was created.

      Parameters:
      creationDateTime - A timestamp of the date and time that the slot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDateTime

      DescribeSlotResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

      A timestamp of the date and time that the slot was last updated.

      Parameters:
      lastUpdatedDateTime - A timestamp of the date and time that the slot was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • multipleValuesSetting

      DescribeSlotResponse.Builder multipleValuesSetting(MultipleValuesSetting multipleValuesSetting)

      Indicates whether the slot accepts multiple values in a single utterance.

      If the multipleValuesSetting is not set, the default value is false.

      Parameters:
      multipleValuesSetting - Indicates whether the slot accepts multiple values in a single utterance.

      If the multipleValuesSetting is not set, the default value is false.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • multipleValuesSetting

      default DescribeSlotResponse.Builder multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)

      Indicates whether the slot accepts multiple values in a single utterance.

      If the multipleValuesSetting is not set, the default value is false.

      This is a convenience method that creates an instance of the MultipleValuesSetting.Builder avoiding the need to create one manually via MultipleValuesSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to multipleValuesSetting(MultipleValuesSetting).

      Parameters:
      multipleValuesSetting - a consumer that will call methods on MultipleValuesSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subSlotSetting

      DescribeSlotResponse.Builder subSlotSetting(SubSlotSetting subSlotSetting)

      Specifications for the constituent sub slots and the expression for the composite slot.

      Parameters:
      subSlotSetting - Specifications for the constituent sub slots and the expression for the composite slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subSlotSetting

      default DescribeSlotResponse.Builder subSlotSetting(Consumer<SubSlotSetting.Builder> subSlotSetting)

      Specifications for the constituent sub slots and the expression for the composite slot.

      This is a convenience method that creates an instance of the SubSlotSetting.Builder avoiding the need to create one manually via SubSlotSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subSlotSetting(SubSlotSetting).

      Parameters:
      subSlotSetting - a consumer that will call methods on SubSlotSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: