Interface ListDatasetLabelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDatasetLabelsResponse.Builder,,ListDatasetLabelsResponse> RekognitionResponse.Builder,SdkBuilder<ListDatasetLabelsResponse.Builder,,ListDatasetLabelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDatasetLabelsResponse
public static interface ListDatasetLabelsResponse.Builder
extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<ListDatasetLabelsResponse.Builder,ListDatasetLabelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondatasetLabelDescriptions(Collection<DatasetLabelDescription> datasetLabelDescriptions) A list of the labels in the dataset.datasetLabelDescriptions(Consumer<DatasetLabelDescription.Builder>... datasetLabelDescriptions) A list of the labels in the dataset.datasetLabelDescriptions(DatasetLabelDescription... datasetLabelDescriptions) A list of the labels in the dataset.If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response.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
-
datasetLabelDescriptions
ListDatasetLabelsResponse.Builder datasetLabelDescriptions(Collection<DatasetLabelDescription> datasetLabelDescriptions) A list of the labels in the dataset.
- Parameters:
datasetLabelDescriptions- A list of the labels in the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetLabelDescriptions
ListDatasetLabelsResponse.Builder datasetLabelDescriptions(DatasetLabelDescription... datasetLabelDescriptions) A list of the labels in the dataset.
- Parameters:
datasetLabelDescriptions- A list of the labels in the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetLabelDescriptions
ListDatasetLabelsResponse.Builder datasetLabelDescriptions(Consumer<DatasetLabelDescription.Builder>... datasetLabelDescriptions) A list of the labels in the dataset.
This is a convenience method that creates an instance of theDatasetLabelDescription.Builderavoiding the need to create one manually viaDatasetLabelDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasetLabelDescriptions(List<DatasetLabelDescription>).- Parameters:
datasetLabelDescriptions- a consumer that will call methods onDatasetLabelDescription.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 Custom Labels 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 Custom Labels 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.
-