@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Anomaly extends Object implements Serializable, Cloneable, StructuredPojo
Information about an anomaly type found on an image by an image segmentation model. For more information, see DetectAnomalies.
| Constructor and Description |
|---|
Anomaly() |
| Modifier and Type | Method and Description |
|---|---|
Anomaly |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of an anomaly type found in an image.
|
PixelAnomaly |
getPixelAnomaly()
Information about the pixel mask that covers an anomaly type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of an anomaly type found in an image.
|
void |
setPixelAnomaly(PixelAnomaly pixelAnomaly)
Information about the pixel mask that covers an anomaly type.
|
String |
toString()
Returns a string representation of this object.
|
Anomaly |
withName(String name)
The name of an anomaly type found in an image.
|
Anomaly |
withPixelAnomaly(PixelAnomaly pixelAnomaly)
Information about the pixel mask that covers an anomaly type.
|
public void setName(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.public String getName()
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 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.public Anomaly withName(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.public void setPixelAnomaly(PixelAnomaly pixelAnomaly)
Information about the pixel mask that covers an anomaly type.
pixelAnomaly - Information about the pixel mask that covers an anomaly type.public PixelAnomaly getPixelAnomaly()
Information about the pixel mask that covers an anomaly type.
public Anomaly withPixelAnomaly(PixelAnomaly pixelAnomaly)
Information about the pixel mask that covers an anomaly type.
pixelAnomaly - Information about the pixel mask that covers an anomaly type.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.