Interface DescribeProjectsResponse.Builder

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

public static interface DescribeProjectsResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DescribeProjectsResponse.Builder,DescribeProjectsResponse>
  • Method Details

    • projectDescriptions

      DescribeProjectsResponse.Builder projectDescriptions(Collection<ProjectDescription> projectDescriptions)

      A list of project descriptions. The list is sorted by the date and time the projects are created.

      Parameters:
      projectDescriptions - A list of project descriptions. The list is sorted by the date and time the projects are created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectDescriptions

      DescribeProjectsResponse.Builder projectDescriptions(ProjectDescription... projectDescriptions)

      A list of project descriptions. The list is sorted by the date and time the projects are created.

      Parameters:
      projectDescriptions - A list of project descriptions. The list is sorted by the date and time the projects are created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectDescriptions

      DescribeProjectsResponse.Builder projectDescriptions(Consumer<ProjectDescription.Builder>... projectDescriptions)

      A list of project descriptions. The list is sorted by the date and time the projects are created.

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

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

      Parameters:
      projectDescriptions - a consumer that will call methods on ProjectDescription.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.