Interface GetLabelDetectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetLabelDetectionRequest.Builder,GetLabelDetectionRequest>,RekognitionRequest.Builder,SdkBuilder<GetLabelDetectionRequest.Builder,GetLabelDetectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetLabelDetectionRequest
public static interface GetLabelDetectionRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<GetLabelDetectionRequest.Builder,GetLabelDetectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetLabelDetectionRequest.BuilderaggregateBy(String aggregateBy)Defines how to aggregate the returned results.GetLabelDetectionRequest.BuilderaggregateBy(LabelDetectionAggregateBy aggregateBy)Defines how to aggregate the returned results.GetLabelDetectionRequest.BuilderjobId(String jobId)Job identifier for the label detection operation for which you want results returned.GetLabelDetectionRequest.BuildermaxResults(Integer maxResults)Maximum number of results to return per paginated call.GetLabelDetectionRequest.BuildernextToken(String nextToken)If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response.GetLabelDetectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetLabelDetectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetLabelDetectionRequest.BuildersortBy(String sortBy)Sort to use for elements in theLabelsarray.GetLabelDetectionRequest.BuildersortBy(LabelDetectionSortBy sortBy)Sort to use for elements in theLabelsarray.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jobId
GetLabelDetectionRequest.Builder jobId(String jobId)
Job identifier for the label detection operation for which you want results returned. You get the job identifer from an initial call to
StartlabelDetection.- Parameters:
jobId- Job identifier for the label detection operation for which you want results returned. You get the job identifer from an initial call toStartlabelDetection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetLabelDetectionRequest.Builder maxResults(Integer maxResults)
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.
- Parameters:
maxResults- Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetLabelDetectionRequest.Builder nextToken(String nextToken)
If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of labels.
- Parameters:
nextToken- If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of labels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
GetLabelDetectionRequest.Builder sortBy(String sortBy)
Sort to use for elements in the
Labelsarray. UseTIMESTAMPto sort array elements by the time labels are detected. UseNAMEto alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is byTIMESTAMP.- Parameters:
sortBy- Sort to use for elements in theLabelsarray. UseTIMESTAMPto sort array elements by the time labels are detected. UseNAMEto alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is byTIMESTAMP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelDetectionSortBy,LabelDetectionSortBy
-
sortBy
GetLabelDetectionRequest.Builder sortBy(LabelDetectionSortBy sortBy)
Sort to use for elements in the
Labelsarray. UseTIMESTAMPto sort array elements by the time labels are detected. UseNAMEto alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is byTIMESTAMP.- Parameters:
sortBy- Sort to use for elements in theLabelsarray. UseTIMESTAMPto sort array elements by the time labels are detected. UseNAMEto alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is byTIMESTAMP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelDetectionSortBy,LabelDetectionSortBy
-
aggregateBy
GetLabelDetectionRequest.Builder aggregateBy(String aggregateBy)
Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.
- Parameters:
aggregateBy- Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelDetectionAggregateBy,LabelDetectionAggregateBy
-
aggregateBy
GetLabelDetectionRequest.Builder aggregateBy(LabelDetectionAggregateBy aggregateBy)
Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.
- Parameters:
aggregateBy- Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelDetectionAggregateBy,LabelDetectionAggregateBy
-
overrideConfiguration
GetLabelDetectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetLabelDetectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-