Interface DescribeProjectVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeProjectVersionsResponse.Builder,DescribeProjectVersionsResponse>,RekognitionResponse.Builder,SdkBuilder<DescribeProjectVersionsResponse.Builder,DescribeProjectVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeProjectVersionsResponse
public static interface DescribeProjectVersionsResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DescribeProjectVersionsResponse.Builder,DescribeProjectVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeProjectVersionsResponse.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.DescribeProjectVersionsResponse.BuilderprojectVersionDescriptions(Collection<ProjectVersionDescription> projectVersionDescriptions)A list of project version descriptions.DescribeProjectVersionsResponse.BuilderprojectVersionDescriptions(Consumer<ProjectVersionDescription.Builder>... projectVersionDescriptions)A list of project version descriptions.DescribeProjectVersionsResponse.BuilderprojectVersionDescriptions(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaProjectVersionDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#projectVersionDescriptions(List.) - 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:
#projectVersionDescriptions(java.util.Collection)
-
nextToken
DescribeProjectVersionsResponse.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.
-
-