Interface CanaryRunStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CanaryRunStatus.Builder,
,CanaryRunStatus> SdkBuilder<CanaryRunStatus.Builder,
,CanaryRunStatus> SdkPojo
- Enclosing class:
CanaryRunStatus
public static interface CanaryRunStatus.Builder
extends SdkPojo, CopyableBuilder<CanaryRunStatus.Builder,CanaryRunStatus>
-
Method Summary
Modifier and TypeMethodDescriptionThe current state of the run.state
(CanaryRunState state) The current state of the run.stateReason
(String stateReason) If run of the canary failed, this field contains the reason for the error.stateReasonCode
(String stateReasonCode) If this value isCANARY_FAILURE
, an exception occurred in the canary code.stateReasonCode
(CanaryRunStateReasonCode stateReasonCode) If this value isCANARY_FAILURE
, an exception occurred in the canary code.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
-
state
The current state of the run.
- Parameters:
state
- The current state of the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the run.
- Parameters:
state
- The current state of the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
If run of the canary failed, this field contains the reason for the error.
- Parameters:
stateReason
- If run of the canary failed, this field contains the reason for the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReasonCode
If this value is
CANARY_FAILURE
, an exception occurred in the canary code. If this value isEXECUTION_FAILURE
, an exception occurred in CloudWatch Synthetics.- Parameters:
stateReasonCode
- If this value isCANARY_FAILURE
, an exception occurred in the canary code. If this value isEXECUTION_FAILURE
, an exception occurred in CloudWatch Synthetics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReasonCode
If this value is
CANARY_FAILURE
, an exception occurred in the canary code. If this value isEXECUTION_FAILURE
, an exception occurred in CloudWatch Synthetics.- Parameters:
stateReasonCode
- If this value isCANARY_FAILURE
, an exception occurred in the canary code. If this value isEXECUTION_FAILURE
, an exception occurred in CloudWatch Synthetics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-