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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeProjectsResponse.BuildernextToken(String nextToken)If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response.DescribeProjectsResponse.BuilderprojectDescriptions(Collection<ProjectDescription> projectDescriptions)A list of project descriptions.DescribeProjectsResponse.BuilderprojectDescriptions(Consumer<ProjectDescription.Builder>... projectDescriptions)A list of project descriptions.DescribeProjectsResponse.BuilderprojectDescriptions(ProjectDescription... projectDescriptions)A list of project descriptions.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 theProjectDescription.Builderavoiding the need to create one manually viaProjectDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#projectDescriptions(List.) - 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:
#projectDescriptions(java.util.Collection)
-
nextToken
DescribeProjectsResponse.Builder nextToken(String 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.
-
-