@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLabelDetectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetLabelDetectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetLabelDetectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAggregateBy()
Defines how to aggregate the returned results.
|
String |
getJobId()
Job identifier for the label detection operation for which you want results returned.
|
Integer |
getMaxResults()
Maximum number of results to return per paginated call.
|
String |
getNextToken()
If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video
returns a pagination token in the response.
|
String |
getSortBy()
Sort to use for elements in the
Labels array. |
int |
hashCode() |
void |
setAggregateBy(String aggregateBy)
Defines how to aggregate the returned results.
|
void |
setJobId(String jobId)
Job identifier for the label detection operation for which you want results returned.
|
void |
setMaxResults(Integer maxResults)
Maximum number of results to return per paginated call.
|
void |
setNextToken(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.
|
void |
setSortBy(String sortBy)
Sort to use for elements in the
Labels array. |
String |
toString()
Returns a string representation of this object.
|
GetLabelDetectionRequest |
withAggregateBy(LabelDetectionAggregateBy aggregateBy)
Defines how to aggregate the returned results.
|
GetLabelDetectionRequest |
withAggregateBy(String aggregateBy)
Defines how to aggregate the returned results.
|
GetLabelDetectionRequest |
withJobId(String jobId)
Job identifier for the label detection operation for which you want results returned.
|
GetLabelDetectionRequest |
withMaxResults(Integer maxResults)
Maximum number of results to return per paginated call.
|
GetLabelDetectionRequest |
withNextToken(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 |
withSortBy(LabelDetectionSortBy sortBy)
Sort to use for elements in the
Labels array. |
GetLabelDetectionRequest |
withSortBy(String sortBy)
Sort to use for elements in the
Labels array. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setJobId(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.
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.public String getJobId()
Job identifier for the label detection operation for which you want results returned. You get the job identifer
from an initial call to StartlabelDetection.
StartlabelDetection.public GetLabelDetectionRequest withJobId(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.
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.public void setMaxResults(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.
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.public Integer getMaxResults()
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.
public GetLabelDetectionRequest withMaxResults(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.
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.public void setNextToken(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.
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.public String getNextToken()
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.
public GetLabelDetectionRequest withNextToken(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.
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.public void setSortBy(String sortBy)
Sort to use for elements in the Labels array. Use TIMESTAMP to sort array elements by
the time labels are detected. Use NAME to alphabetically group elements for a label together. Within
each label group, the array element are sorted by detection confidence. The default sort is by
TIMESTAMP.
sortBy - Sort to use for elements in the Labels array. Use TIMESTAMP to sort array
elements by the time labels are detected. Use NAME to alphabetically group elements for a
label together. Within each label group, the array element are sorted by detection confidence. The default
sort is by TIMESTAMP.LabelDetectionSortBypublic String getSortBy()
Sort to use for elements in the Labels array. Use TIMESTAMP to sort array elements by
the time labels are detected. Use NAME to alphabetically group elements for a label together. Within
each label group, the array element are sorted by detection confidence. The default sort is by
TIMESTAMP.
Labels array. Use TIMESTAMP to sort array
elements by the time labels are detected. Use NAME to alphabetically group elements for a
label together. Within each label group, the array element are sorted by detection confidence. The
default sort is by TIMESTAMP.LabelDetectionSortBypublic GetLabelDetectionRequest withSortBy(String sortBy)
Sort to use for elements in the Labels array. Use TIMESTAMP to sort array elements by
the time labels are detected. Use NAME to alphabetically group elements for a label together. Within
each label group, the array element are sorted by detection confidence. The default sort is by
TIMESTAMP.
sortBy - Sort to use for elements in the Labels array. Use TIMESTAMP to sort array
elements by the time labels are detected. Use NAME to alphabetically group elements for a
label together. Within each label group, the array element are sorted by detection confidence. The default
sort is by TIMESTAMP.LabelDetectionSortBypublic GetLabelDetectionRequest withSortBy(LabelDetectionSortBy sortBy)
Sort to use for elements in the Labels array. Use TIMESTAMP to sort array elements by
the time labels are detected. Use NAME to alphabetically group elements for a label together. Within
each label group, the array element are sorted by detection confidence. The default sort is by
TIMESTAMP.
sortBy - Sort to use for elements in the Labels array. Use TIMESTAMP to sort array
elements by the time labels are detected. Use NAME to alphabetically group elements for a
label together. Within each label group, the array element are sorted by detection confidence. The default
sort is by TIMESTAMP.LabelDetectionSortBypublic void setAggregateBy(String aggregateBy)
Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.
aggregateBy - Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.LabelDetectionAggregateBypublic String getAggregateBy()
Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.
LabelDetectionAggregateBypublic GetLabelDetectionRequest withAggregateBy(String aggregateBy)
Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.
aggregateBy - Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.LabelDetectionAggregateBypublic GetLabelDetectionRequest withAggregateBy(LabelDetectionAggregateBy aggregateBy)
Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.
aggregateBy - Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.LabelDetectionAggregateBypublic String toString()
toString in class ObjectObject.toString()public GetLabelDetectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()