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 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.projectVersionDescriptions
(Collection<ProjectVersionDescription> projectVersionDescriptions) A list of project version descriptions.projectVersionDescriptions
(Consumer<ProjectVersionDescription.Builder>... projectVersionDescriptions) A list of project version descriptions.projectVersionDescriptions
(ProjectVersionDescription... projectVersionDescriptions) A list of project version 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 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 theProjectVersionDescription.Builder
avoiding the need to create one manually viaProjectVersionDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprojectVersionDescriptions(List<ProjectVersionDescription>)
.- Parameters:
projectVersionDescriptions
- a consumer that will call methods onProjectVersionDescription.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.
-