Class BackupPolicyJobStatusReason

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class BackupPolicyJobStatusReason
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    BackupPolicyJobStatusReason.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  BackupPolicyJobStatusReason.Code
      A reason code for the status: - `internal_error`: Internal error (contact IBM support) - `snapshot_encryption_key_invalid`: The provided encryption key is unavailable - `snapshot_pending`: Cannot delete backup (snapshot) in the `pending` lifecycle state - `snapshot_volume_limit`: The snapshot limit for the source volume has been reached - `source_volume_busy`: The source volume has `busy` set (after multiple retries) - `source_volume_too_large`: The source volume exceeds the [maximum supported size](https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-about&interface=api#snapshots-vpc-limitations) - `source_volume_unavailable`: The source volume is not attached to a running instance The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
    • Method Detail

      • getCode

        public String getCode()
        Gets the code. A reason code for the status: - `internal_error`: Internal error (contact IBM support) - `snapshot_encryption_key_invalid`: The provided encryption key is unavailable - `snapshot_pending`: Cannot delete backup (snapshot) in the `pending` lifecycle state - `snapshot_volume_limit`: The snapshot limit for the source volume has been reached - `source_volume_busy`: The source volume has `busy` set (after multiple retries) - `source_volume_too_large`: The source volume exceeds the [maximum supported size](https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-about&interface=api#snapshots-vpc-limitations) - `source_volume_unavailable`: The source volume is not attached to a running instance The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
        Returns:
        the code
      • getMessage

        public String getMessage()
        Gets the message. An explanation of the status reason.
        Returns:
        the message
      • getMoreInfo

        public String getMoreInfo()
        Gets the moreInfo. Link to documentation about this status reason.
        Returns:
        the moreInfo