Class BackupPolicyJob

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

    public class BackupPolicyJob
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    BackupPolicyJob.
    • Method Detail

      • isAutoDelete

        public Boolean isAutoDelete()
        Gets the autoDelete. Indicates whether this backup policy job will be automatically deleted after it completes. At present, this is always `true`, but may be modifiable in the future.
        Returns:
        the autoDelete
      • getAutoDeleteAfter

        public Long getAutoDeleteAfter()
        Gets the autoDeleteAfter. If `auto_delete` is `true`, the days after completion that this backup policy job will be deleted. This value may be modifiable in the future.
        Returns:
        the autoDeleteAfter
      • getBackupPolicyPlan

        public BackupPolicyPlanReference getBackupPolicyPlan()
        Gets the backupPolicyPlan. The backup policy plan operated this backup policy job (may be [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
        Returns:
        the backupPolicyPlan
      • getCompletedAt

        public Date getCompletedAt()
        Gets the completedAt. The date and time that the backup policy job was completed. If absent, the backup policy job has not yet completed.
        Returns:
        the completedAt
      • getCreatedAt

        public Date getCreatedAt()
        Gets the createdAt. The date and time that the backup policy job was created.
        Returns:
        the createdAt
      • getHref

        public String getHref()
        Gets the href. The URL for this backup policy job.
        Returns:
        the href
      • getId

        public String getId()
        Gets the id. The unique identifier for this backup policy job.
        Returns:
        the id
      • getJobType

        public String getJobType()
        Gets the jobType. The type of backup policy job. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the backup policy job on which the unexpected property value was encountered.
        Returns:
        the jobType
      • getResourceType

        public String getResourceType()
        Gets the resourceType. The resource type.
        Returns:
        the resourceType
      • getSource

        public BackupPolicyJobSource getSource()
        Gets the source. The source this backup was created from (may be [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
        Returns:
        the source
      • getStatus

        public String getStatus()
        Gets the status. The status of the backup policy job. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the backup policy job on which the unexpected property value was encountered.
        Returns:
        the status
      • getStatusReasons

        public List<BackupPolicyJobStatusReason> getStatusReasons()
        Gets the statusReasons. The reasons for the current status (if any). The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered.
        Returns:
        the statusReasons
      • getTargetSnapshots

        public List<SnapshotReference> getTargetSnapshots()
        Gets the targetSnapshots. The snapshots operated on by this backup policy job (may be [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).
        Returns:
        the targetSnapshots