@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartContentModerationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartContentModerationRequest() |
Modifier and Type | Method and Description |
---|---|
StartContentModerationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Idempotent token used to identify the start request.
|
String |
getJobTag()
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple
Notification Service topic.
|
Float |
getMinConfidence()
Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label.
|
NotificationChannel |
getNotificationChannel()
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content
moderation analysis to.
|
Video |
getVideo()
The video in which you want to moderate content.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request.
|
void |
setJobTag(String jobTag)
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple
Notification Service topic.
|
void |
setMinConfidence(Float minConfidence)
Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label.
|
void |
setNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content
moderation analysis to.
|
void |
setVideo(Video video)
The video in which you want to moderate content.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StartContentModerationRequest |
withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request.
|
StartContentModerationRequest |
withJobTag(String jobTag)
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple
Notification Service topic.
|
StartContentModerationRequest |
withMinConfidence(Float minConfidence)
Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label.
|
StartContentModerationRequest |
withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content
moderation analysis to.
|
StartContentModerationRequest |
withVideo(Video video)
The video in which you want to moderate content.
|
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 setVideo(Video video)
The video in which you want to moderate content. The video must be stored in an Amazon S3 bucket.
video
- The video in which you want to moderate content. The video must be stored in an Amazon S3 bucket.public Video getVideo()
The video in which you want to moderate content. The video must be stored in an Amazon S3 bucket.
public StartContentModerationRequest withVideo(Video video)
The video in which you want to moderate content. The video must be stored in an Amazon S3 bucket.
video
- The video in which you want to moderate content. The video must be stored in an Amazon S3 bucket.public void setMinConfidence(Float minConfidence)
Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label. Confidence represents how certain Amazon Rekognition is that the moderated content is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition doesn't return any moderated content labels with a confidence level lower than this specified value.
minConfidence
- Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content
label. Confidence represents how certain Amazon Rekognition is that the moderated content is correctly
identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition doesn't return
any moderated content labels with a confidence level lower than this specified value.public Float getMinConfidence()
Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label. Confidence represents how certain Amazon Rekognition is that the moderated content is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition doesn't return any moderated content labels with a confidence level lower than this specified value.
public StartContentModerationRequest withMinConfidence(Float minConfidence)
Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label. Confidence represents how certain Amazon Rekognition is that the moderated content is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition doesn't return any moderated content labels with a confidence level lower than this specified value.
minConfidence
- Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content
label. Confidence represents how certain Amazon Rekognition is that the moderated content is correctly
identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition doesn't return
any moderated content labels with a confidence level lower than this specified value.public void setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request. If you use the same token with multiple
StartContentModeration
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
clientRequestToken
- Idempotent token used to identify the start request. If you use the same token with multiple
StartContentModeration
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public String getClientRequestToken()
Idempotent token used to identify the start request. If you use the same token with multiple
StartContentModeration
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
StartContentModeration
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public StartContentModerationRequest withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request. If you use the same token with multiple
StartContentModeration
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
clientRequestToken
- Idempotent token used to identify the start request. If you use the same token with multiple
StartContentModeration
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public void setNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content moderation analysis to.
notificationChannel
- The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the
content moderation analysis to.public NotificationChannel getNotificationChannel()
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content moderation analysis to.
public StartContentModerationRequest withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content moderation analysis to.
notificationChannel
- The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the
content moderation analysis to.public void setJobTag(String jobTag)
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple Notification Service topic.
jobTag
- Unique identifier you specify to identify the job in the completion status published to the Amazon Simple
Notification Service topic.public String getJobTag()
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple Notification Service topic.
public StartContentModerationRequest withJobTag(String jobTag)
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple Notification Service topic.
jobTag
- Unique identifier you specify to identify the job in the completion status published to the Amazon Simple
Notification Service topic.public String toString()
toString
in class Object
Object.toString()
public StartContentModerationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.