Interface GetIntentVersionsResponse.Builder

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

  • Method Details

    • intents

      An array of IntentMetadata objects, one for each numbered version of the intent plus one for the $LATEST version.

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

      An array of IntentMetadata objects, one for each numbered version of the intent plus one for the $LATEST version.

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

      An array of IntentMetadata objects, one for each numbered version of the intent plus one for the $LATEST version.

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

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

      Parameters:
      intents - a consumer that will call methods on IntentMetadata.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 intent 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 intent 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.