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 Summary
Modifier and TypeMethodDescriptionIf the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response.projectDescriptions(Collection<ProjectDescription> projectDescriptions) A list of project descriptions.projectDescriptions(Consumer<ProjectDescription.Builder>... projectDescriptions) A list of project descriptions.projectDescriptions(ProjectDescription... projectDescriptions) A list of project descriptions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theProjectDescription.Builderavoiding the need to create one manually viaProjectDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprojectDescriptions(List<ProjectDescription>).- Parameters:
projectDescriptions- a consumer that will call methods onProjectDescription.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.
-