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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaBaseScreenshot.builder().When the
Consumercompletes,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
nextrunto use the screenshots from the next run after this update is made,lastrunto use the screenshots from the most recent run before this update was made, or the value ofIdin 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 arenextrunto use the screenshots from the next run after this update is made,lastrunto use the screenshots from the most recent run before this update was made, or the value ofIdin the CanaryRun from any past run of this canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-