Interface GetSlotTypeVersionsResponse.Builder

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

  • Method Details

    • slotTypes

      An array of SlotTypeMetadata objects, one for each numbered version of the slot type plus one for the $LATEST version.

      Parameters:
      slotTypes - An array of SlotTypeMetadata objects, one for each numbered version of the slot type plus one for the $LATEST version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotTypes

      An array of SlotTypeMetadata objects, one for each numbered version of the slot type plus one for the $LATEST version.

      Parameters:
      slotTypes - An array of SlotTypeMetadata objects, one for each numbered version of the slot type plus one for the $LATEST version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotTypes

      An array of SlotTypeMetadata objects, one for each numbered version of the slot type plus one for the $LATEST version.

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

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

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

      A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.

      Parameters:
      nextToken - A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.