public static final class CfnCanary.BaseScreenshotProperty.Builder
extends java.lang.Object
CfnCanary.BaseScreenshotProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCanary.BaseScreenshotProperty |
build()
Builds the configured instance.
|
CfnCanary.BaseScreenshotProperty.Builder |
ignoreCoordinates(java.util.List<java.lang.String> ignoreCoordinates)
Sets the value of
CfnCanary.BaseScreenshotProperty.getIgnoreCoordinates() |
CfnCanary.BaseScreenshotProperty.Builder |
screenshotName(java.lang.String screenshotName)
Sets the value of
CfnCanary.BaseScreenshotProperty.getScreenshotName() |
public CfnCanary.BaseScreenshotProperty.Builder screenshotName(java.lang.String screenshotName)
CfnCanary.BaseScreenshotProperty.getScreenshotName()
screenshotName
- The name of the screenshot. This parameter is required.
This is generated the first time the canary is run after the UpdateCanary
operation that specified for this canary to perform visual monitoring.this
public CfnCanary.BaseScreenshotProperty.Builder ignoreCoordinates(java.util.List<java.lang.String> ignoreCoordinates)
CfnCanary.BaseScreenshotProperty.getIgnoreCoordinates()
ignoreCoordinates
- Coordinates that define the part of a screen to ignore during screenshot comparisons.
To obtain the coordinates to use here, use the CloudWatch Logs console to draw the boundaries on the screen. For more information, see {LINK}this
public CfnCanary.BaseScreenshotProperty build()
CfnCanary.BaseScreenshotProperty
java.lang.NullPointerException
- if any required attribute was not provided