public static interface DetectAnomalyResult.Builder extends SdkPojo, CopyableBuilder<DetectAnomalyResult.Builder,DetectAnomalyResult>
| Modifier and Type | Method and Description |
|---|---|
DetectAnomalyResult.Builder |
confidence(Float confidence)
The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.
|
DetectAnomalyResult.Builder |
isAnomalous(Boolean isAnomalous)
True if the image contains an anomaly, otherwise false.
|
default DetectAnomalyResult.Builder |
source(Consumer<ImageSource.Builder> source)
The source of the image that was analyzed.
|
DetectAnomalyResult.Builder |
source(ImageSource source)
The source of the image that was analyzed.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectAnomalyResult.Builder source(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.
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.default DetectAnomalyResult.Builder source(Consumer<ImageSource.Builder> 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.
ImageSource.Builder avoiding the need to create
one manually via ImageSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to source(ImageSource).source - a consumer that will call methods on ImageSource.Buildersource(ImageSource)DetectAnomalyResult.Builder isAnomalous(Boolean isAnomalous)
True if the image contains an anomaly, otherwise false.
isAnomalous - True if the image contains an anomaly, otherwise false.DetectAnomalyResult.Builder confidence(Float confidence)
The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.
confidence - The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.Copyright © 2022. All rights reserved.