@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BaseScreenshot extends Object implements Serializable, Cloneable, StructuredPojo
A structure representing a screenshot that is used as a baseline during visual monitoring comparisons made by the canary.
Constructor and Description |
---|
BaseScreenshot() |
Modifier and Type | Method and Description |
---|---|
BaseScreenshot |
clone() |
boolean |
equals(Object obj) |
List<String> |
getIgnoreCoordinates()
Coordinates that define the part of a screen to ignore during screenshot comparisons.
|
String |
getScreenshotName()
The name of the screenshot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIgnoreCoordinates(Collection<String> ignoreCoordinates)
Coordinates that define the part of a screen to ignore during screenshot comparisons.
|
void |
setScreenshotName(String screenshotName)
The name of the screenshot.
|
String |
toString()
Returns a string representation of this object.
|
BaseScreenshot |
withIgnoreCoordinates(Collection<String> ignoreCoordinates)
Coordinates that define the part of a screen to ignore during screenshot comparisons.
|
BaseScreenshot |
withIgnoreCoordinates(String... ignoreCoordinates)
Coordinates that define the part of a screen to ignore during screenshot comparisons.
|
BaseScreenshot |
withScreenshotName(String screenshotName)
The name of the screenshot.
|
public void setScreenshotName(String screenshotName)
The name of the screenshot. This is generated the first time the canary is run after the
UpdateCanary
operation that specified for this canary to perform visual monitoring.
screenshotName
- The name of the screenshot. This is generated the first time the canary is run after the
UpdateCanary
operation that specified for this canary to perform visual monitoring.public String getScreenshotName()
The name of the screenshot. This is generated the first time the canary is run after the
UpdateCanary
operation that specified for this canary to perform visual monitoring.
UpdateCanary
operation that specified for this canary to perform visual monitoring.public BaseScreenshot withScreenshotName(String screenshotName)
The name of the screenshot. This is generated the first time the canary is run after the
UpdateCanary
operation that specified for this canary to perform visual monitoring.
screenshotName
- The name of the screenshot. This is generated the first time the canary is run after the
UpdateCanary
operation that specified for this canary to perform visual monitoring.public List<String> getIgnoreCoordinates()
Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more information, see Editing or deleting a canary
public void setIgnoreCoordinates(Collection<String> ignoreCoordinates)
Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more information, see Editing or deleting a canary
ignoreCoordinates
- Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the
coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more
information, see
Editing or deleting a canarypublic BaseScreenshot withIgnoreCoordinates(String... ignoreCoordinates)
Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more information, see Editing or deleting a canary
NOTE: This method appends the values to the existing list (if any). Use
setIgnoreCoordinates(java.util.Collection)
or withIgnoreCoordinates(java.util.Collection)
if
you want to override the existing values.
ignoreCoordinates
- Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the
coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more
information, see
Editing or deleting a canarypublic BaseScreenshot withIgnoreCoordinates(Collection<String> ignoreCoordinates)
Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more information, see Editing or deleting a canary
ignoreCoordinates
- Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the
coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more
information, see
Editing or deleting a canarypublic String toString()
toString
in class Object
Object.toString()
public BaseScreenshot clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.