Class BackupPolicyPlanPatch
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.BackupPolicyPlanPatch
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class BackupPolicyPlanPatch
extends com.ibm.cloud.sdk.core.service.model.GenericModel
BackupPolicyPlanPatch.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionactive()
Gets the active.asPatch()
Construct a JSON merge-patch from the BackupPolicyPlanPatch.Gets the attachUserTags.Gets the clonePolicy.Gets the copyUserTags.cronSpec()
Gets the cronSpec.Gets the deletionTrigger.name()
Gets the name.New builder.Gets the remoteRegionPolicies.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a BackupPolicyPlanPatch builder
-
active
-
attachUserTags
-
clonePolicy
Gets the clonePolicy.- Returns:
- the clonePolicy
-
copyUserTags
Gets the copyUserTags. Indicates whether to copy the source's user tags to the created backups (snapshots).- Returns:
- the copyUserTags
-
cronSpec
Gets the cronSpec. The cron specification for the backup schedule. The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time. All backup schedules for plans in the same policy must be at least an hour apart.- Returns:
- the cronSpec
-
deletionTrigger
Gets the deletionTrigger.- Returns:
- the deletionTrigger
-
name
Gets the name. The name for this backup policy plan. The name must not be used by another plan for the backup policy.- Returns:
- the name
-
remoteRegionPolicies
Gets the remoteRegionPolicies. The policies for additional backups in remote regions (replacing any existing policies).- Returns:
- the remoteRegionPolicies
-
asPatch
Construct a JSON merge-patch from the BackupPolicyPlanPatch. Note that properties of the BackupPolicyPlanPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the BackupPolicyPlanPatch
-