Interface CanaryRun.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CanaryRun.Builder,,- CanaryRun> - SdkBuilder<CanaryRun.Builder,,- CanaryRun> - SdkPojo
- Enclosing class:
- CanaryRun
- 
Method SummaryModifier and TypeMethodDescriptionartifactS3Location(String artifactS3Location) The location where the canary stored artifacts from the run.browserType(String browserType) The browser type associated with this canary run.browserType(BrowserType browserType) The browser type associated with this canary run.default CanaryRun.BuilderdryRunConfig(Consumer<CanaryDryRunConfigOutput.Builder> dryRunConfig) Returns the dry run configurations for a canary.dryRunConfig(CanaryDryRunConfigOutput dryRunConfig) Returns the dry run configurations for a canary.A unique ID that identifies this canary run.The name of the canary.retryAttempt(Integer retryAttempt) The count in number of the retry attempt.scheduledRunId(String scheduledRunId) The ID of the scheduled canary run.default CanaryRun.Builderstatus(Consumer<CanaryRunStatus.Builder> status) The status of this run.status(CanaryRunStatus status) The status of this run.default CanaryRun.Buildertimeline(Consumer<CanaryRunTimeline.Builder> timeline) A structure that contains the start and end times of this run.timeline(CanaryRunTimeline timeline) A structure that contains the start and end times of this run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
idA unique ID that identifies this canary run. - Parameters:
- id- A unique ID that identifies this canary run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scheduledRunIdThe ID of the scheduled canary run. - Parameters:
- scheduledRunId- The ID of the scheduled canary run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retryAttemptThe count in number of the retry attempt. - Parameters:
- retryAttempt- The count in number of the retry attempt.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe name of the canary. - Parameters:
- name- The name of the canary.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of this run. - Parameters:
- status- The status of this run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of this run. This is a convenience method that creates an instance of theCanaryRunStatus.Builderavoiding the need to create one manually viaCanaryRunStatus.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(CanaryRunStatus).- Parameters:
- status- a consumer that will call methods on- CanaryRunStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timelineA structure that contains the start and end times of this run. - Parameters:
- timeline- A structure that contains the start and end times of this run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timelineA structure that contains the start and end times of this run. This is a convenience method that creates an instance of theCanaryRunTimeline.Builderavoiding the need to create one manually viaCanaryRunTimeline.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeline(CanaryRunTimeline).- Parameters:
- timeline- a consumer that will call methods on- CanaryRunTimeline.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
artifactS3LocationThe location where the canary stored artifacts from the run. Artifacts include the log file, screenshots, and HAR files. - Parameters:
- artifactS3Location- The location where the canary stored artifacts from the run. Artifacts include the log file, screenshots, and HAR files.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dryRunConfigReturns the dry run configurations for a canary. - Parameters:
- dryRunConfig- Returns the dry run configurations for a canary.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dryRunConfigReturns the dry run configurations for a canary. This is a convenience method that creates an instance of theCanaryDryRunConfigOutput.Builderavoiding the need to create one manually viaCanaryDryRunConfigOutput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todryRunConfig(CanaryDryRunConfigOutput).- Parameters:
- dryRunConfig- a consumer that will call methods on- CanaryDryRunConfigOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
browserTypeThe browser type associated with this canary run. - Parameters:
- browserType- The browser type associated with this canary run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
browserTypeThe browser type associated with this canary run. - Parameters:
- browserType- The browser type associated with this canary run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-