@Generated(value="software.amazon.awssdk:codegen") public final class StartContentModerationRequest extends RekognitionRequest implements ToCopyableBuilder<StartContentModerationRequest.Builder,StartContentModerationRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
StartContentModerationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static StartContentModerationRequest.Builder |
builder() |
String |
clientRequestToken()
Idempotent token used to identify the start request.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
jobTag()
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple
Notification Service topic.
|
Float |
minConfidence()
Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label.
|
NotificationChannel |
notificationChannel()
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content
moderation analysis to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartContentModerationRequest.Builder> |
serializableBuilderClass() |
StartContentModerationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Video |
video()
The video in which you want to moderate content.
|
overrideConfiguration
copy
public Video video()
The video in which you want to moderate content. The video must be stored in an Amazon S3 bucket.
public 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
,
GetContentModeration
returns labels with confidence values greater than or equal to 50 percent.
MinConfidence
, GetContentModeration
returns labels with confidence
values greater than or equal to 50 percent.public 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.
StartContentModeration
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public NotificationChannel notificationChannel()
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content moderation analysis to.
public String jobTag()
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple Notification Service topic.
public StartContentModerationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StartContentModerationRequest.Builder,StartContentModerationRequest>
toBuilder
in class RekognitionRequest
public static StartContentModerationRequest.Builder builder()
public static Class<? extends StartContentModerationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.