public static interface VisualReferenceInput.Builder extends SdkPojo, CopyableBuilder<VisualReferenceInput.Builder,VisualReferenceInput>
| Modifier and Type | Method and Description |
|---|---|
VisualReferenceInput.Builder |
baseCanaryRunId(String baseCanaryRunId)
Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this
canary.
|
VisualReferenceInput.Builder |
baseScreenshots(BaseScreenshot... baseScreenshots)
An array of screenshots that will be used as the baseline for visual monitoring in future runs of this
canary.
|
VisualReferenceInput.Builder |
baseScreenshots(Collection<BaseScreenshot> baseScreenshots)
An array of screenshots that will be used as the baseline for visual monitoring in future runs of this
canary.
|
VisualReferenceInput.Builder |
baseScreenshots(Consumer<BaseScreenshot.Builder>... baseScreenshots)
An array of screenshots that will be used as the baseline for visual monitoring in future runs of this
canary.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVisualReferenceInput.Builder baseScreenshots(Collection<BaseScreenshot> baseScreenshots)
An array of screenshots that will be used as the baseline for visual monitoring in future runs of this canary. If there is a screenshot that you don't want to be used for visual monitoring, remove it from this array.
baseScreenshots - An array of screenshots that will be used as the baseline for visual monitoring in future runs of this
canary. If there is a screenshot that you don't want to be used for visual monitoring, remove it from
this array.VisualReferenceInput.Builder baseScreenshots(BaseScreenshot... baseScreenshots)
An array of screenshots that will be used as the baseline for visual monitoring in future runs of this canary. If there is a screenshot that you don't want to be used for visual monitoring, remove it from this array.
baseScreenshots - An array of screenshots that will be used as the baseline for visual monitoring in future runs of this
canary. If there is a screenshot that you don't want to be used for visual monitoring, remove it from
this array.VisualReferenceInput.Builder baseScreenshots(Consumer<BaseScreenshot.Builder>... baseScreenshots)
An array of screenshots that will be used as the baseline for visual monitoring in future runs of this canary. If there is a screenshot that you don't want to be used for visual monitoring, remove it from this array.
This is a convenience method that creates an instance of theBaseScreenshot.Builder avoiding the need to create
one manually via BaseScreenshot.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #baseScreenshots(List.
baseScreenshots - a consumer that will call methods on
BaseScreenshot.Builder#baseScreenshots(java.util.Collection) VisualReferenceInput.Builder baseCanaryRunId(String baseCanaryRunId)
Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this
canary. Valid values are nextrun to use the screenshots from the next run after this update is
made, lastrun to use the screenshots from the most recent run before this update was made, or
the value of Id in the CanaryRun
from any past run of this canary.
baseCanaryRunId - Specifies which canary run to use the screenshots from as the baseline for future visual monitoring
with this canary. Valid values are nextrun to use the screenshots from the next run after
this update is made, lastrun to use the screenshots from the most recent run before this
update was made, or the value of Id in the
CanaryRun from any past run of this canary.Copyright © 2022. All rights reserved.