public static interface CanaryRun.Builder extends SdkPojo, CopyableBuilder<CanaryRun.Builder,CanaryRun>
Modifier and Type | Method and Description |
---|---|
CanaryRun.Builder |
artifactS3Location(String artifactS3Location)
The location where the canary stored artifacts from the run.
|
CanaryRun.Builder |
id(String id)
A unique ID that identifies this canary run.
|
CanaryRun.Builder |
name(String name)
The name of the canary.
|
CanaryRun.Builder |
status(CanaryRunStatus status)
The status of this run.
|
default CanaryRun.Builder |
status(Consumer<CanaryRunStatus.Builder> status)
The status of this run.
|
CanaryRun.Builder |
timeline(CanaryRunTimeline timeline)
A structure that contains the start and end times of this run.
|
default CanaryRun.Builder |
timeline(Consumer<CanaryRunTimeline.Builder> timeline)
A structure that contains the start and end times of this run.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
CanaryRun.Builder id(String id)
A unique ID that identifies this canary run.
id
- A unique ID that identifies this canary run.CanaryRun.Builder name(String name)
The name of the canary.
name
- The name of the canary.CanaryRun.Builder status(CanaryRunStatus status)
The status of this run.
status
- The status of this run.default CanaryRun.Builder status(Consumer<CanaryRunStatus.Builder> status)
The status of this run.
This is a convenience that creates an instance of theCanaryRunStatus.Builder
avoiding the need to
create one manually via CanaryRunStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to status(CanaryRunStatus)
.status
- a consumer that will call methods on CanaryRunStatus.Builder
status(CanaryRunStatus)
CanaryRun.Builder timeline(CanaryRunTimeline timeline)
A structure that contains the start and end times of this run.
timeline
- A structure that contains the start and end times of this run.default CanaryRun.Builder timeline(Consumer<CanaryRunTimeline.Builder> timeline)
A structure that contains the start and end times of this run.
This is a convenience that creates an instance of theCanaryRunTimeline.Builder
avoiding the need to
create one manually via CanaryRunTimeline.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to timeline(CanaryRunTimeline)
.timeline
- a consumer that will call methods on CanaryRunTimeline.Builder
timeline(CanaryRunTimeline)
CanaryRun.Builder artifactS3Location(String artifactS3Location)
The location where the canary stored artifacts from the run. Artifacts include the log file, screenshots, and HAR files.
artifactS3Location
- The location where the canary stored artifacts from the run. Artifacts include the log file,
screenshots, and HAR files.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.