Class StartContentModerationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rekognition.model.RekognitionRequest
-
- software.amazon.awssdk.services.rekognition.model.StartContentModerationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartContentModerationRequest.Builder,StartContentModerationRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartContentModerationRequest extends RekognitionRequest implements ToCopyableBuilder<StartContentModerationRequest.Builder,StartContentModerationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartContentModerationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartContentModerationRequest.Builderbuilder()StringclientRequestToken()Idempotent token used to identify the start request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobTag()An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.FloatminConfidence()Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label.NotificationChannelnotificationChannel()The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content analysis to.List<SdkField<?>>sdkFields()static Class<? extends StartContentModerationRequest.Builder>serializableBuilderClass()StartContentModerationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Videovideo()The video in which you want to detect inappropriate, unwanted, or offensive content.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
video
public final Video video()
The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored in an Amazon S3 bucket.
- Returns:
- The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored in an Amazon S3 bucket.
-
minConfidence
public final 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. If you don't specify
MinConfidence,GetContentModerationreturns labels with confidence values greater than or equal to 50 percent.- Returns:
- 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. If you don't
specify
MinConfidence,GetContentModerationreturns labels with confidence values greater than or equal to 50 percent.
-
clientRequestToken
public final String clientRequestToken()
Idempotent token used to identify the start request. If you use the same token with multiple
StartContentModerationrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.- Returns:
- Idempotent token used to identify the start request. If you use the same token with multiple
StartContentModerationrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.
-
notificationChannel
public final NotificationChannel notificationChannel()
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
- Returns:
- The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
-
jobTag
public final String jobTag()
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use
JobTagto group related jobs and identify them in the completion notification.- Returns:
- An identifier you specify that's returned in the completion notification that's published to your Amazon
Simple Notification Service topic. For example, you can use
JobTagto group related jobs and identify them in the completion notification.
-
toBuilder
public StartContentModerationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartContentModerationRequest.Builder,StartContentModerationRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static StartContentModerationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartContentModerationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-