@Generated(value="software.amazon.awssdk:codegen") public final class GetLabelDetectionRequestMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GetLabelDetectionRequestMetadata.Builder,GetLabelDetectionRequestMetadata>
Contains metadata about a label detection request, including the SortBy and AggregateBy options.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetLabelDetectionRequestMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
LabelDetectionAggregateBy |
aggregateBy()
The aggregation method chosen for a GetLabelDetection request.
|
String |
aggregateByAsString()
The aggregation method chosen for a GetLabelDetection request.
|
static GetLabelDetectionRequestMetadata.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 GetLabelDetectionRequestMetadata.Builder> |
serializableBuilderClass() |
LabelDetectionSortBy |
sortBy()
The sorting method chosen for a GetLabelDetection request.
|
String |
sortByAsString()
The sorting method chosen for a GetLabelDetection request.
|
GetLabelDetectionRequestMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LabelDetectionSortBy sortBy()
The sorting method chosen for a GetLabelDetection request.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return LabelDetectionSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sortByAsString().
LabelDetectionSortBypublic final String sortByAsString()
The sorting method chosen for a GetLabelDetection request.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return LabelDetectionSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sortByAsString().
LabelDetectionSortBypublic final LabelDetectionAggregateBy aggregateBy()
The aggregation method chosen for a GetLabelDetection request.
If the service returns an enum value that is not available in the current SDK version, aggregateBy will
return LabelDetectionAggregateBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from aggregateByAsString().
LabelDetectionAggregateBypublic final String aggregateByAsString()
The aggregation method chosen for a GetLabelDetection request.
If the service returns an enum value that is not available in the current SDK version, aggregateBy will
return LabelDetectionAggregateBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from aggregateByAsString().
LabelDetectionAggregateBypublic GetLabelDetectionRequestMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetLabelDetectionRequestMetadata.Builder,GetLabelDetectionRequestMetadata>public static GetLabelDetectionRequestMetadata.Builder builder()
public static Class<? extends GetLabelDetectionRequestMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.