public static interface CanaryRunStatus.Builder extends SdkPojo, CopyableBuilder<CanaryRunStatus.Builder,CanaryRunStatus>
| Modifier and Type | Method and Description |
|---|---|
CanaryRunStatus.Builder |
state(CanaryRunState state)
The current state of the run.
|
CanaryRunStatus.Builder |
state(String state)
The current state of the run.
|
CanaryRunStatus.Builder |
stateReason(String stateReason)
If run of the canary failed, this field contains the reason for the error.
|
CanaryRunStatus.Builder |
stateReasonCode(CanaryRunStateReasonCode stateReasonCode)
If this value is
CANARY_FAILURE, an exception occurred in the canary code. |
CanaryRunStatus.Builder |
stateReasonCode(String stateReasonCode)
If this value is
CANARY_FAILURE, an exception occurred in the canary code. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCanaryRunStatus.Builder state(String state)
The current state of the run.
state - The current state of the run.CanaryRunState,
CanaryRunStateCanaryRunStatus.Builder state(CanaryRunState state)
The current state of the run.
state - The current state of the run.CanaryRunState,
CanaryRunStateCanaryRunStatus.Builder stateReason(String stateReason)
If run of the canary failed, this field contains the reason for the error.
stateReason - If run of the canary failed, this field contains the reason for the error.CanaryRunStatus.Builder stateReasonCode(String stateReasonCode)
If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value is
EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.
stateReasonCode - If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value
is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.CanaryRunStateReasonCode,
CanaryRunStateReasonCodeCanaryRunStatus.Builder stateReasonCode(CanaryRunStateReasonCode stateReasonCode)
If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value is
EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.
stateReasonCode - If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value
is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.CanaryRunStateReasonCode,
CanaryRunStateReasonCodeCopyright © 2022. All rights reserved.