Class UpdateProblemRequest

    • Method Detail

      • problemId

        public final String problemId()

        The ID of the problem.

        Returns:
        The ID of the problem.
      • updateStatus

        public final UpdateStatus updateStatus()

        The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING.

        If the service returns an enum value that is not available in the current SDK version, updateStatus will return UpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from updateStatusAsString().

        Returns:
        The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING.
        See Also:
        UpdateStatus
      • updateStatusAsString

        public final String updateStatusAsString()

        The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING.

        If the service returns an enum value that is not available in the current SDK version, updateStatus will return UpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from updateStatusAsString().

        Returns:
        The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING.
        See Also:
        UpdateStatus
      • visibility

        public final Visibility visibility()

        The visibility of a problem. When you pass a value of IGNORED, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE is passed, the IGNORED action is reversed.

        If the service returns an enum value that is not available in the current SDK version, visibility will return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from visibilityAsString().

        Returns:
        The visibility of a problem. When you pass a value of IGNORED, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE is passed, the IGNORED action is reversed.
        See Also:
        Visibility
      • visibilityAsString

        public final String visibilityAsString()

        The visibility of a problem. When you pass a value of IGNORED, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE is passed, the IGNORED action is reversed.

        If the service returns an enum value that is not available in the current SDK version, visibility will return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from visibilityAsString().

        Returns:
        The visibility of a problem. When you pass a value of IGNORED, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE is passed, the IGNORED action is reversed.
        See Also:
        Visibility
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object