public static interface Anomaly.Builder extends SdkPojo, CopyableBuilder<Anomaly.Builder,Anomaly>
| Modifier and Type | Method and Description |
|---|---|
Anomaly.Builder |
name(String name)
The name of an anomaly type found in an image.
|
default Anomaly.Builder |
pixelAnomaly(Consumer<PixelAnomaly.Builder> pixelAnomaly)
Information about the pixel mask that covers an anomaly type.
|
Anomaly.Builder |
pixelAnomaly(PixelAnomaly pixelAnomaly)
Information about the pixel mask that covers an anomaly type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAnomaly.Builder name(String name)
The name of an anomaly type found in an image. Name maps to an anomaly type in the training
dataset, apart from the anomaly type background. The service automatically inserts the
background anomaly type into the response from DetectAnomalies.
name - The name of an anomaly type found in an image. Name maps to an anomaly type in the
training dataset, apart from the anomaly type background. The service automatically
inserts the background anomaly type into the response from DetectAnomalies.Anomaly.Builder pixelAnomaly(PixelAnomaly pixelAnomaly)
Information about the pixel mask that covers an anomaly type.
pixelAnomaly - Information about the pixel mask that covers an anomaly type.default Anomaly.Builder pixelAnomaly(Consumer<PixelAnomaly.Builder> pixelAnomaly)
Information about the pixel mask that covers an anomaly type.
This is a convenience method that creates an instance of thePixelAnomaly.Builder avoiding the need
to create one manually via PixelAnomaly.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to pixelAnomaly(PixelAnomaly).
pixelAnomaly - a consumer that will call methods on PixelAnomaly.BuilderpixelAnomaly(PixelAnomaly)Copyright © 2022. All rights reserved.