@Generated(value="software.amazon.awssdk:codegen") public class DetectModerationLabelsRequest extends RekognitionRequest implements ToCopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DetectModerationLabelsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DetectModerationLabelsRequest.Builder |
builder() |
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() |
Image |
image()
The input image as bytes or an S3 object.
|
Float |
minConfidence()
Specifies the minimum confidence level for the labels to return.
|
static Class<? extends DetectModerationLabelsRequest.Builder> |
serializableBuilderClass() |
DetectModerationLabelsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public Image image()
The input image as bytes or an S3 object.
public Float minConfidence()
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.
If you don't specify MinConfidence
, the operation returns labels with confidence values greater than
or equal to 50 percent.
If you don't specify MinConfidence
, the operation returns labels with confidence values
greater than or equal to 50 percent.
public DetectModerationLabelsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
toBuilder
in class RekognitionRequest
public static DetectModerationLabelsRequest.Builder builder()
public static Class<? extends DetectModerationLabelsRequest.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.