Class 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.
    • Method Detail

      • active

        public Boolean active()
        Gets the active. Indicates whether the plan is active.
        Returns:
        the active
      • attachUserTags

        public List<String> attachUserTags()
        Gets the attachUserTags. The user tags to attach to backups (snapshots) created by this plan. Updating this value does not change the user tags for backups that have already been created by this plan.
        Returns:
        the attachUserTags
      • copyUserTags

        public Boolean copyUserTags()
        Gets the copyUserTags. Indicates whether to copy the source's user tags to the created backups (snapshots).
        Returns:
        the copyUserTags
      • cronSpec

        public String 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
      • name

        public String 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

        public List<BackupPolicyPlanRemoteRegionPolicyPrototype> remoteRegionPolicies()
        Gets the remoteRegionPolicies. The policies for additional backups in remote regions (replacing any existing policies).
        Returns:
        the remoteRegionPolicies
      • asPatch

        public Map<String,​Object> 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