Interface DescribeProjectVersionsResponse.Builder

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

  • Method Details

    • projectVersionDescriptions

      DescribeProjectVersionsResponse.Builder projectVersionDescriptions(Collection<ProjectVersionDescription> projectVersionDescriptions)

      A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest.

      Parameters:
      projectVersionDescriptions - A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectVersionDescriptions

      DescribeProjectVersionsResponse.Builder projectVersionDescriptions(ProjectVersionDescription... projectVersionDescriptions)

      A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest.

      Parameters:
      projectVersionDescriptions - A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectVersionDescriptions

      DescribeProjectVersionsResponse.Builder projectVersionDescriptions(Consumer<ProjectVersionDescription.Builder>... projectVersionDescriptions)

      A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest.

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

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

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

      If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

      Parameters:
      nextToken - If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.