Class GetContentModerationRequestMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.GetContentModerationRequestMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GetContentModerationRequestMetadata.Builder,GetContentModerationRequestMetadata>
@Generated("software.amazon.awssdk:codegen") public final class GetContentModerationRequestMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GetContentModerationRequestMetadata.Builder,GetContentModerationRequestMetadata>
Contains metadata about a content moderation request, including the SortBy and AggregateBy options.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetContentModerationRequestMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentModerationAggregateByaggregateBy()The aggregation method chosen for a GetContentModeration request.StringaggregateByAsString()The aggregation method chosen for a GetContentModeration request.static GetContentModerationRequestMetadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetContentModerationRequestMetadata.Builder>serializableBuilderClass()ContentModerationSortBysortBy()The sorting method chosen for a GetContentModeration request.StringsortByAsString()The sorting method chosen for a GetContentModeration request.GetContentModerationRequestMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
sortBy
public final ContentModerationSortBy sortBy()
The sorting method chosen for a GetContentModeration request.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnContentModerationSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The sorting method chosen for a GetContentModeration request.
- See Also:
ContentModerationSortBy
-
sortByAsString
public final String sortByAsString()
The sorting method chosen for a GetContentModeration request.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnContentModerationSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The sorting method chosen for a GetContentModeration request.
- See Also:
ContentModerationSortBy
-
aggregateBy
public final ContentModerationAggregateBy aggregateBy()
The aggregation method chosen for a GetContentModeration request.
If the service returns an enum value that is not available in the current SDK version,
aggregateBywill returnContentModerationAggregateBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregateByAsString().- Returns:
- The aggregation method chosen for a GetContentModeration request.
- See Also:
ContentModerationAggregateBy
-
aggregateByAsString
public final String aggregateByAsString()
The aggregation method chosen for a GetContentModeration request.
If the service returns an enum value that is not available in the current SDK version,
aggregateBywill returnContentModerationAggregateBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregateByAsString().- Returns:
- The aggregation method chosen for a GetContentModeration request.
- See Also:
ContentModerationAggregateBy
-
toBuilder
public GetContentModerationRequestMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetContentModerationRequestMetadata.Builder,GetContentModerationRequestMetadata>
-
builder
public static GetContentModerationRequestMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetContentModerationRequestMetadata.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-