Interface CanaryRunStatus.Builder

    • Method Detail

      • 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:
        CanaryRunStateReasonCode, CanaryRunStateReasonCode
      • 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:
        CanaryRunStateReasonCode, CanaryRunStateReasonCode