@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContentModerationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetContentModerationRequest() |
Modifier and Type | Method and Description |
---|---|
GetContentModerationRequest |
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 results of the StartContentModeration request.
|
String |
getJobId()
The identifier for the inappropriate, unwanted, or offensive content moderation job.
|
Integer |
getMaxResults()
Maximum number of results to return per paginated call.
|
String |
getNextToken()
If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a
pagination token in the response.
|
String |
getSortBy()
Sort to use for elements in the
ModerationLabelDetections array. |
int |
hashCode() |
void |
setAggregateBy(String aggregateBy)
Defines how to aggregate results of the StartContentModeration request.
|
void |
setJobId(String jobId)
The identifier for the inappropriate, unwanted, or offensive content moderation job.
|
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 is more data to retrieve), Amazon Rekognition returns a
pagination token in the response.
|
void |
setSortBy(String sortBy)
Sort to use for elements in the
ModerationLabelDetections array. |
String |
toString()
Returns a string representation of this object.
|
GetContentModerationRequest |
withAggregateBy(ContentModerationAggregateBy aggregateBy)
Defines how to aggregate results of the StartContentModeration request.
|
GetContentModerationRequest |
withAggregateBy(String aggregateBy)
Defines how to aggregate results of the StartContentModeration request.
|
GetContentModerationRequest |
withJobId(String jobId)
The identifier for the inappropriate, unwanted, or offensive content moderation job.
|
GetContentModerationRequest |
withMaxResults(Integer maxResults)
Maximum number of results to return per paginated call.
|
GetContentModerationRequest |
withNextToken(String nextToken)
If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a
pagination token in the response.
|
GetContentModerationRequest |
withSortBy(ContentModerationSortBy sortBy)
Sort to use for elements in the
ModerationLabelDetections array. |
GetContentModerationRequest |
withSortBy(String sortBy)
Sort to use for elements in the
ModerationLabelDetections 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, withSdkRequestTimeout
public void setJobId(String jobId)
The identifier for the inappropriate, unwanted, or offensive content moderation job. Use JobId
to
identify the job in a subsequent call to GetContentModeration
.
jobId
- The identifier for the inappropriate, unwanted, or offensive content moderation job. Use
JobId
to identify the job in a subsequent call to GetContentModeration
.public String getJobId()
The identifier for the inappropriate, unwanted, or offensive content moderation job. Use JobId
to
identify the job in a subsequent call to GetContentModeration
.
JobId
to identify the job in a subsequent call to GetContentModeration
.public GetContentModerationRequest withJobId(String jobId)
The identifier for the inappropriate, unwanted, or offensive content moderation job. Use JobId
to
identify the job in a subsequent call to GetContentModeration
.
jobId
- The identifier for the inappropriate, unwanted, or offensive content moderation job. Use
JobId
to identify the job in a subsequent call to GetContentModeration
.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 GetContentModerationRequest 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 is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels.
nextToken
- If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition
returns a pagination token in the response. You can use this pagination token to retrieve the next set of
content moderation labels.public String getNextToken()
If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels.
public GetContentModerationRequest withNextToken(String nextToken)
If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels.
nextToken
- If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition
returns a pagination token in the response. You can use this pagination token to retrieve the next set of
content moderation labels.public void setSortBy(String sortBy)
Sort to use for elements in the ModerationLabelDetections
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 ModerationLabelDetections
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
.ContentModerationSortBy
public String getSortBy()
Sort to use for elements in the ModerationLabelDetections
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
.
ModerationLabelDetections
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
.ContentModerationSortBy
public GetContentModerationRequest withSortBy(String sortBy)
Sort to use for elements in the ModerationLabelDetections
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 ModerationLabelDetections
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
.ContentModerationSortBy
public GetContentModerationRequest withSortBy(ContentModerationSortBy sortBy)
Sort to use for elements in the ModerationLabelDetections
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 ModerationLabelDetections
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
.ContentModerationSortBy
public void setAggregateBy(String aggregateBy)
Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.
aggregateBy
- Defines how to aggregate results of the StartContentModeration request. Default aggregation option is
TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.ContentModerationAggregateBy
public String getAggregateBy()
Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.
ContentModerationAggregateBy
public GetContentModerationRequest withAggregateBy(String aggregateBy)
Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.
aggregateBy
- Defines how to aggregate results of the StartContentModeration request. Default aggregation option is
TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.ContentModerationAggregateBy
public GetContentModerationRequest withAggregateBy(ContentModerationAggregateBy aggregateBy)
Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.
aggregateBy
- Defines how to aggregate results of the StartContentModeration request. Default aggregation option is
TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.ContentModerationAggregateBy
public String toString()
toString
in class Object
Object.toString()
public GetContentModerationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()