Class DetectModerationLabelsRequest
- 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.DetectModerationLabelsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
@Generated("software.amazon.awssdk:codegen") public final class DetectModerationLabelsRequest extends RekognitionRequest implements ToCopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDetectModerationLabelsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetectModerationLabelsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HumanLoopConfighumanLoopConfig()Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.Imageimage()The input image as base64-encoded bytes or an S3 object.FloatminConfidence()Specifies the minimum confidence level for the labels to return.StringprojectVersion()Identifier for the custom adapter.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DetectModerationLabelsRequest.Builder>serializableBuilderClass()DetectModerationLabelsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
image
public final Image image()
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the
Bytesfield. For more information, see Images in the Amazon Rekognition developer guide.- Returns:
- The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the
Bytesfield. For more information, see Images in the Amazon Rekognition developer guide.
-
minConfidence
public final 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.- Returns:
- 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.
-
humanLoopConfig
public final HumanLoopConfig humanLoopConfig()
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
- Returns:
- Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
-
projectVersion
public final String projectVersion()
Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
- Returns:
- Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
-
toBuilder
public DetectModerationLabelsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static DetectModerationLabelsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DetectModerationLabelsRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-