Interface CanaryRun.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<CanaryRun.Builder,,CanaryRun> SdkBuilder<CanaryRun.Builder,,CanaryRun> SdkPojo
- Enclosing class:
 CanaryRun
public static interface CanaryRun.Builder
extends SdkPojo, CopyableBuilder<CanaryRun.Builder,CanaryRun> 
- 
Method Summary
Modifier and TypeMethodDescriptionartifactS3Location(String artifactS3Location) The location where the canary stored artifacts from the run.A unique ID that identifies this canary run.The name of the canary.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.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
- 
id
A 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.
 
 - 
name
The 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.
 
 - 
status
The 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.
 
 - 
status
The 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 onCanaryRunStatus.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
timeline
A 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.
 
 - 
timeline
A 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 onCanaryRunTimeline.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
artifactS3Location
The 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.
 
 
 -