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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CanaryRunStatus.Builderstate(String state)The current state of the run.CanaryRunStatus.Builderstate(CanaryRunState state)The current state of the run.CanaryRunStatus.BuilderstateReason(String stateReason)If run of the canary failed, this field contains the reason for the error.CanaryRunStatus.BuilderstateReasonCode(String stateReasonCode)If this value isCANARY_FAILURE, an exception occurred in the canary code.CanaryRunStatus.BuilderstateReasonCode(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 Detail
-
state
CanaryRunStatus.Builder state(String 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:
CanaryRunState,CanaryRunState
-
state
CanaryRunStatus.Builder state(CanaryRunState 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:
CanaryRunState,CanaryRunState
-
stateReason
CanaryRunStatus.Builder stateReason(String 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
CanaryRunStatus.Builder stateReasonCode(String 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:
CanaryRunStateReasonCode,CanaryRunStateReasonCode
-
stateReasonCode
CanaryRunStatus.Builder stateReasonCode(CanaryRunStateReasonCode 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:
CanaryRunStateReasonCode,CanaryRunStateReasonCode
-
-