Interface GetSlotTypeResponse.Builder

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

public static interface GetSlotTypeResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetSlotTypeResponse.Builder,GetSlotTypeResponse>
  • Method Details

    • name

      The name of the slot type.

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

      GetSlotTypeResponse.Builder description(String description)

      A description of the slot type.

      Parameters:
      description - A description of the slot type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enumerationValues

      GetSlotTypeResponse.Builder enumerationValues(Collection<EnumerationValue> enumerationValues)

      A list of EnumerationValue objects that defines the values that the slot type can take.

      Parameters:
      enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enumerationValues

      GetSlotTypeResponse.Builder enumerationValues(EnumerationValue... enumerationValues)

      A list of EnumerationValue objects that defines the values that the slot type can take.

      Parameters:
      enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enumerationValues

      GetSlotTypeResponse.Builder enumerationValues(Consumer<EnumerationValue.Builder>... enumerationValues)

      A list of EnumerationValue objects that defines the values that the slot type can take.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to enumerationValues(List<EnumerationValue>).

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

      GetSlotTypeResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)

      The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.

      Parameters:
      lastUpdatedDate - The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      GetSlotTypeResponse.Builder createdDate(Instant createdDate)

      The date that the slot type was created.

      Parameters:
      createdDate - The date that the slot type was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version of the slot type.

      Parameters:
      version - The version of the slot type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksum

      GetSlotTypeResponse.Builder checksum(String checksum)

      Checksum of the $LATEST version of the slot type.

      Parameters:
      checksum - Checksum of the $LATEST version of the slot type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • valueSelectionStrategy

      GetSlotTypeResponse.Builder valueSelectionStrategy(String valueSelectionStrategy)

      The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.

      Parameters:
      valueSelectionStrategy - The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • valueSelectionStrategy

      GetSlotTypeResponse.Builder valueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)

      The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.

      Parameters:
      valueSelectionStrategy - The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parentSlotTypeSignature

      GetSlotTypeResponse.Builder parentSlotTypeSignature(String parentSlotTypeSignature)

      The built-in slot type used as a parent for the slot type.

      Parameters:
      parentSlotTypeSignature - The built-in slot type used as a parent for the slot type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotTypeConfigurations

      GetSlotTypeResponse.Builder slotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations)

      Configuration information that extends the parent built-in slot type.

      Parameters:
      slotTypeConfigurations - Configuration information that extends the parent built-in slot type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotTypeConfigurations

      GetSlotTypeResponse.Builder slotTypeConfigurations(SlotTypeConfiguration... slotTypeConfigurations)

      Configuration information that extends the parent built-in slot type.

      Parameters:
      slotTypeConfigurations - Configuration information that extends the parent built-in slot type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotTypeConfigurations

      GetSlotTypeResponse.Builder slotTypeConfigurations(Consumer<SlotTypeConfiguration.Builder>... slotTypeConfigurations)

      Configuration information that extends the parent built-in slot type.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to slotTypeConfigurations(List<SlotTypeConfiguration>).

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