Interface VisualReferenceInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VisualReferenceInput.Builder,
,VisualReferenceInput> SdkBuilder<VisualReferenceInput.Builder,
,VisualReferenceInput> SdkPojo
- Enclosing class:
VisualReferenceInput
-
Method Summary
Modifier and TypeMethodDescriptionbaseCanaryRunId
(String baseCanaryRunId) Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this canary.baseScreenshots
(Collection<BaseScreenshot> baseScreenshots) An array of screenshots that will be used as the baseline for visual monitoring in future runs of this canary.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.baseScreenshots
(BaseScreenshot... baseScreenshots) An array of screenshots that will be used as the baseline for visual monitoring in future runs of this canary.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaBaseScreenshot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobaseScreenshots(List<BaseScreenshot>)
.- Parameters:
baseScreenshots
- a consumer that will call methods onBaseScreenshot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 ofId
in the CanaryRun from any past run of this canary.- Parameters:
baseCanaryRunId
- Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this canary. Valid values arenextrun
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 ofId
in the CanaryRun from any past run of this canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-