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 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

      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 is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReasonCode

      CanaryRunStatus.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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: