@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetContentModerationRequestMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
ContentModerationAggregateBy |
aggregateBy()
The aggregation method chosen for a GetContentModeration request.
|
String |
aggregateByAsString()
The aggregation method chosen for a GetContentModeration request.
|
static GetContentModerationRequestMetadata.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetContentModerationRequestMetadata.Builder> |
serializableBuilderClass() |
ContentModerationSortBy |
sortBy()
The sorting method chosen for a GetContentModeration request.
|
String |
sortByAsString()
The sorting method chosen for a GetContentModeration request.
|
GetContentModerationRequestMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, sortBy will
return ContentModerationSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sortByAsString().
ContentModerationSortBypublic 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, sortBy will
return ContentModerationSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sortByAsString().
ContentModerationSortBypublic 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, aggregateBy will
return ContentModerationAggregateBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from aggregateByAsString().
ContentModerationAggregateBypublic 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, aggregateBy will
return ContentModerationAggregateBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from aggregateByAsString().
ContentModerationAggregateBypublic GetContentModerationRequestMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetContentModerationRequestMetadata.Builder,GetContentModerationRequestMetadata>public static GetContentModerationRequestMetadata.Builder builder()
public static Class<? extends GetContentModerationRequestMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.