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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDatasetLabelsResponse.BuilderdatasetLabelDescriptions(Collection<DatasetLabelDescription> datasetLabelDescriptions)A list of the labels in the dataset.ListDatasetLabelsResponse.BuilderdatasetLabelDescriptions(Consumer<DatasetLabelDescription.Builder>... datasetLabelDescriptions)A list of the labels in the dataset.ListDatasetLabelsResponse.BuilderdatasetLabelDescriptions(DatasetLabelDescription... datasetLabelDescriptions)A list of the labels in the dataset.ListDatasetLabelsResponse.BuildernextToken(String 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.-
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
-
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 to#datasetLabelDescriptions(List.) - 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:
#datasetLabelDescriptions(java.util.Collection)
-
nextToken
ListDatasetLabelsResponse.Builder nextToken(String 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.
-
-