Class AzureIaaSvmProtectionPolicy


  • public final class AzureIaaSvmProtectionPolicy
    extends ProtectionPolicy
    IaaS VM workload-specific backup policy.
    • Constructor Detail

      • AzureIaaSvmProtectionPolicy

        public AzureIaaSvmProtectionPolicy()
    • Method Detail

      • instantRPDetails

        public InstantRPAdditionalDetails instantRPDetails()
        Get the instantRPDetails property: The instantRPDetails property.
        Returns:
        the instantRPDetails value.
      • withInstantRPDetails

        public AzureIaaSvmProtectionPolicy withInstantRPDetails​(InstantRPAdditionalDetails instantRPDetails)
        Set the instantRPDetails property: The instantRPDetails property.
        Parameters:
        instantRPDetails - the instantRPDetails value to set.
        Returns:
        the AzureIaaSvmProtectionPolicy object itself.
      • schedulePolicy

        public SchedulePolicy schedulePolicy()
        Get the schedulePolicy property: Backup schedule specified as part of backup policy.
        Returns:
        the schedulePolicy value.
      • withSchedulePolicy

        public AzureIaaSvmProtectionPolicy withSchedulePolicy​(SchedulePolicy schedulePolicy)
        Set the schedulePolicy property: Backup schedule specified as part of backup policy.
        Parameters:
        schedulePolicy - the schedulePolicy value to set.
        Returns:
        the AzureIaaSvmProtectionPolicy object itself.
      • retentionPolicy

        public RetentionPolicy retentionPolicy()
        Get the retentionPolicy property: Retention policy with the details on backup copy retention ranges.
        Returns:
        the retentionPolicy value.
      • withRetentionPolicy

        public AzureIaaSvmProtectionPolicy withRetentionPolicy​(RetentionPolicy retentionPolicy)
        Set the retentionPolicy property: Retention policy with the details on backup copy retention ranges.
        Parameters:
        retentionPolicy - the retentionPolicy value to set.
        Returns:
        the AzureIaaSvmProtectionPolicy object itself.
      • instantRpRetentionRangeInDays

        public Integer instantRpRetentionRangeInDays()
        Get the instantRpRetentionRangeInDays property: Instant RP retention policy range in days.
        Returns:
        the instantRpRetentionRangeInDays value.
      • withInstantRpRetentionRangeInDays

        public AzureIaaSvmProtectionPolicy withInstantRpRetentionRangeInDays​(Integer instantRpRetentionRangeInDays)
        Set the instantRpRetentionRangeInDays property: Instant RP retention policy range in days.
        Parameters:
        instantRpRetentionRangeInDays - the instantRpRetentionRangeInDays value to set.
        Returns:
        the AzureIaaSvmProtectionPolicy object itself.
      • timeZone

        public String timeZone()
        Get the timeZone property: TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
        Returns:
        the timeZone value.
      • withTimeZone

        public AzureIaaSvmProtectionPolicy withTimeZone​(String timeZone)
        Set the timeZone property: TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
        Parameters:
        timeZone - the timeZone value to set.
        Returns:
        the AzureIaaSvmProtectionPolicy object itself.
      • policyType

        public IaasvmPolicyType policyType()
        Get the policyType property: The policyType property.
        Returns:
        the policyType value.
      • withPolicyType

        public AzureIaaSvmProtectionPolicy withPolicyType​(IaasvmPolicyType policyType)
        Set the policyType property: The policyType property.
        Parameters:
        policyType - the policyType value to set.
        Returns:
        the AzureIaaSvmProtectionPolicy object itself.
      • withProtectedItemsCount

        public AzureIaaSvmProtectionPolicy withProtectedItemsCount​(Integer protectedItemsCount)
        Set the protectedItemsCount property: Number of items associated with this policy.
        Overrides:
        withProtectedItemsCount in class ProtectionPolicy
        Parameters:
        protectedItemsCount - the protectedItemsCount value to set.
        Returns:
        the ProtectionPolicy object itself.
      • withResourceGuardOperationRequests

        public AzureIaaSvmProtectionPolicy withResourceGuardOperationRequests​(List<String> resourceGuardOperationRequests)
        Set the resourceGuardOperationRequests property: ResourceGuard Operation Requests.
        Overrides:
        withResourceGuardOperationRequests in class ProtectionPolicy
        Parameters:
        resourceGuardOperationRequests - the resourceGuardOperationRequests value to set.
        Returns:
        the ProtectionPolicy object itself.