@Generated(value="software.amazon.awssdk:codegen") public final class DetectAnomalyResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DetectAnomalyResult.Builder,DetectAnomalyResult>
The prediction results from a call to DetectAnomalies.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectAnomalyResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectAnomalyResult.Builder |
builder() |
Float |
confidence()
The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isAnomalous()
True if the image contains an anomaly, otherwise false.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectAnomalyResult.Builder> |
serializableBuilderClass() |
ImageSource |
source()
The source of the image that was analyzed.
|
DetectAnomalyResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ImageSource source()
The source of the image that was analyzed. direct means that the images was supplied from the local
computer. No other values are supported.
direct means that the images was supplied from
the local computer. No other values are supported.public final Boolean isAnomalous()
True if the image contains an anomaly, otherwise false.
public final Float confidence()
The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.
public DetectAnomalyResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectAnomalyResult.Builder,DetectAnomalyResult>public static DetectAnomalyResult.Builder builder()
public static Class<? extends DetectAnomalyResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.