@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PixelAnomaly extends Object implements Serializable, Cloneable, StructuredPojo
Information about the pixels in an anomaly mask. For more information, see Anomaly. PixelAnomaly
is only returned by image segmentation models.
Constructor and Description |
---|
PixelAnomaly() |
Modifier and Type | Method and Description |
---|---|
PixelAnomaly |
clone() |
boolean |
equals(Object obj) |
String |
getColor()
A hex color value for the mask that covers an anomaly type.
|
Float |
getTotalPercentageArea()
The percentage area of the image that the anomaly type covers.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColor(String color)
A hex color value for the mask that covers an anomaly type.
|
void |
setTotalPercentageArea(Float totalPercentageArea)
The percentage area of the image that the anomaly type covers.
|
String |
toString()
Returns a string representation of this object.
|
PixelAnomaly |
withColor(String color)
A hex color value for the mask that covers an anomaly type.
|
PixelAnomaly |
withTotalPercentageArea(Float totalPercentageArea)
The percentage area of the image that the anomaly type covers.
|
public void setTotalPercentageArea(Float totalPercentageArea)
The percentage area of the image that the anomaly type covers.
totalPercentageArea
- The percentage area of the image that the anomaly type covers.public Float getTotalPercentageArea()
The percentage area of the image that the anomaly type covers.
public PixelAnomaly withTotalPercentageArea(Float totalPercentageArea)
The percentage area of the image that the anomaly type covers.
totalPercentageArea
- The percentage area of the image that the anomaly type covers.public void setColor(String color)
A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.
color
- A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color.
The color maps to the color of the anomaly type used in the training dataset.public String getColor()
A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.
public PixelAnomaly withColor(String color)
A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.
color
- A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color.
The color maps to the color of the anomaly type used in the training dataset.public String toString()
toString
in class Object
Object.toString()
public PixelAnomaly clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.