Interface Anomaly.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Anomaly.Builder,,Anomaly> SdkBuilder<Anomaly.Builder,,Anomaly> SdkPojo
- Enclosing class:
Anomaly
-
Method Summary
Modifier and TypeMethodDescriptionThe name of an anomaly type found in an image.default Anomaly.BuilderpixelAnomaly(Consumer<PixelAnomaly.Builder> pixelAnomaly) Information about the pixel mask that covers an anomaly type.pixelAnomaly(PixelAnomaly pixelAnomaly) Information about the pixel mask that covers an anomaly type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of an anomaly type found in an image.
Namemaps to an anomaly type in the training dataset, apart from the anomaly typebackground. The service automatically inserts thebackgroundanomaly type into the response fromDetectAnomalies.- Parameters:
name- The name of an anomaly type found in an image.Namemaps to an anomaly type in the training dataset, apart from the anomaly typebackground. The service automatically inserts thebackgroundanomaly type into the response fromDetectAnomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pixelAnomaly
Information about the pixel mask that covers an anomaly type.
- Parameters:
pixelAnomaly- Information about the pixel mask that covers an anomaly type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pixelAnomaly
Information about the pixel mask that covers an anomaly type.
This is a convenience method that creates an instance of thePixelAnomaly.Builderavoiding the need to create one manually viaPixelAnomaly.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topixelAnomaly(PixelAnomaly).- Parameters:
pixelAnomaly- a consumer that will call methods onPixelAnomaly.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-