public class Attachment extends Object
| Constructor and Description |
|---|
Attachment() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
ArtifactLocation |
getArtifactLocation()
Specifies the location of an artifact.
|
Message |
getDescription()
Encapsulates a message intended to be read by the end user.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
Set<Rectangle> |
getRectangles()
An array of rectangles specifying areas of interest within the image.
|
Set<Region> |
getRegions()
An array of regions of interest within the attachment.
|
int |
hashCode() |
void |
setArtifactLocation(ArtifactLocation artifactLocation)
Specifies the location of an artifact.
|
void |
setDescription(Message description)
Encapsulates a message intended to be read by the end user.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setRectangles(Set<Rectangle> rectangles)
An array of rectangles specifying areas of interest within the image.
|
void |
setRegions(Set<Region> regions)
An array of regions of interest within the attachment.
|
String |
toString() |
Attachment |
withArtifactLocation(ArtifactLocation artifactLocation) |
Attachment |
withDescription(Message description) |
Attachment |
withProperties(PropertyBag properties) |
Attachment |
withRectangles(Set<Rectangle> rectangles) |
Attachment |
withRegions(Set<Region> regions) |
public Message getDescription()
public void setDescription(Message description)
public Attachment withDescription(Message description)
public ArtifactLocation getArtifactLocation()
public void setArtifactLocation(ArtifactLocation artifactLocation)
public Attachment withArtifactLocation(ArtifactLocation artifactLocation)
public void setRegions(Set<Region> regions)
public Attachment withRegions(Set<Region> regions)
public Set<Rectangle> getRectangles()
public void setRectangles(Set<Rectangle> rectangles)
public Attachment withRectangles(Set<Rectangle> rectangles)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Attachment withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.