Interface UpdateSlotResponse.Builder

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

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

    • slotId

      The unique identifier of the slot that was updated.

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

      UpdateSlotResponse.Builder slotName(String slotName)

      The updated name of the slot.

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

      UpdateSlotResponse.Builder description(String description)

      The updated description of the bot.

      Parameters:
      description - The updated description of the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotTypeId

      UpdateSlotResponse.Builder slotTypeId(String slotTypeId)

      The updated identifier of the slot type that provides values for the slot.

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

      UpdateSlotResponse.Builder valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)

      The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.

      Parameters:
      valueElicitationSetting - The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • valueElicitationSetting

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

      The updated prompts that Amazon Lex sends to the user to elicit a response that provides 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

      UpdateSlotResponse.Builder obfuscationSetting(ObfuscationSetting obfuscationSetting)

      The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.

      Parameters:
      obfuscationSetting - The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • obfuscationSetting

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

      The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch 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 that contains the slot.

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

      UpdateSlotResponse.Builder botVersion(String botVersion)

      The version of the bot that contains the slot. Will always be DRAFT.

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

      UpdateSlotResponse.Builder localeId(String localeId)

      The locale that contains the slot.

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

      UpdateSlotResponse.Builder intentId(String intentId)

      The intent that contains the slot.

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

      UpdateSlotResponse.Builder creationDateTime(Instant creationDateTime)

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

      Parameters:
      creationDateTime - The 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

      UpdateSlotResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

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

      Parameters:
      lastUpdatedDateTime - The 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

      UpdateSlotResponse.Builder multipleValuesSetting(MultipleValuesSetting multipleValuesSetting)

      Indicates whether the slot accepts multiple values in one response.

      Parameters:
      multipleValuesSetting - Indicates whether the slot accepts multiple values in one response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • multipleValuesSetting

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

      Indicates whether the slot accepts multiple values in one response.

      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

      UpdateSlotResponse.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 UpdateSlotResponse.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: