Class BackupPolicyJob
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The type of backup policy job.static interface
The resource type.static interface
The status of the backup policy job. -
Method Summary
Modifier and TypeMethodDescriptionGets the autoDeleteAfter.Gets the backupPolicyPlan.Gets the completedAt.Gets the createdAt.getHref()
Gets the href.getId()
Gets the id.Gets the jobType.Gets the resourceType.Gets the source.Gets the status.Gets the statusReasons.Gets the targetSnapshots.Gets the autoDelete.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
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
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
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
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
Gets the createdAt. The date and time that the backup policy job was created.- Returns:
- the createdAt
-
getHref
-
getId
Gets the id. The unique identifier for this backup policy job.- Returns:
- the id
-
getJobType
Gets the jobType. The type of backup policy job. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the jobType
-
getResourceType
-
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
Gets the status. The status of the backup policy job. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the status
-
getStatusReasons
Gets the statusReasons. The reasons for the current status (if any).- Returns:
- the statusReasons
-
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
-