Interface VisualReferenceOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VisualReferenceOutput.Builder,
,VisualReferenceOutput> SdkBuilder<VisualReferenceOutput.Builder,
,VisualReferenceOutput> SdkPojo
- Enclosing class:
VisualReferenceOutput
public static interface VisualReferenceOutput.Builder
extends SdkPojo, CopyableBuilder<VisualReferenceOutput.Builder,VisualReferenceOutput>
-
Method Summary
Modifier and TypeMethodDescriptionbaseCanaryRunId
(String baseCanaryRunId) The ID of the canary run that produced the baseline screenshots that are used for visual monitoring comparisons by this canary.baseScreenshots
(Collection<BaseScreenshot> baseScreenshots) An array of screenshots that are used as the baseline for comparisons during visual monitoring.baseScreenshots
(Consumer<BaseScreenshot.Builder>... baseScreenshots) An array of screenshots that are used as the baseline for comparisons during visual monitoring.baseScreenshots
(BaseScreenshot... baseScreenshots) An array of screenshots that are used as the baseline for comparisons during visual monitoring.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 are used as the baseline for comparisons during visual monitoring.
- Parameters:
baseScreenshots
- An array of screenshots that are used as the baseline for comparisons during visual monitoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseScreenshots
An array of screenshots that are used as the baseline for comparisons during visual monitoring.
- Parameters:
baseScreenshots
- An array of screenshots that are used as the baseline for comparisons during visual monitoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseScreenshots
An array of screenshots that are used as the baseline for comparisons during visual monitoring.
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
The ID of the canary run that produced the baseline screenshots that are used for visual monitoring comparisons by this canary.
- Parameters:
baseCanaryRunId
- The ID of the canary run that produced the baseline screenshots that are used for visual monitoring comparisons by this canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-