@Generated(value="software.amazon.awssdk:codegen") public final class DetectLabelsSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DetectLabelsSettings.Builder,DetectLabelsSettings>
Settings for the DetectLabels request. Settings can include filters for both GENERAL_LABELS and IMAGE_PROPERTIES. GENERAL_LABELS filters can be inclusive or exclusive and applied to individual labels or label categories. IMAGE_PROPERTIES filters allow specification of a maximum number of dominant colors.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectLabelsSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectLabelsSettings.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
GeneralLabelsSettings |
generalLabels()
Contains the specified filters for GENERAL_LABELS.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DetectLabelsImagePropertiesSettings |
imageProperties()
Contains the chosen number of maximum dominant colors in an image.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectLabelsSettings.Builder> |
serializableBuilderClass() |
DetectLabelsSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final GeneralLabelsSettings generalLabels()
Contains the specified filters for GENERAL_LABELS.
public final DetectLabelsImagePropertiesSettings imageProperties()
Contains the chosen number of maximum dominant colors in an image.
public DetectLabelsSettings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectLabelsSettings.Builder,DetectLabelsSettings>public static DetectLabelsSettings.Builder builder()
public static Class<? extends DetectLabelsSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.