Class PolicyInfo


  • public final class PolicyInfo
    extends Object
    PolicyInfo Policy Info in backupInstance.
    • Constructor Detail

      • PolicyInfo

        public PolicyInfo()
    • Method Detail

      • policyId

        public String policyId()
        Get the policyId property: The policyId property.
        Returns:
        the policyId value.
      • withPolicyId

        public PolicyInfo withPolicyId​(String policyId)
        Set the policyId property: The policyId property.
        Parameters:
        policyId - the policyId value to set.
        Returns:
        the PolicyInfo object itself.
      • policyVersion

        public String policyVersion()
        Get the policyVersion property: The policyVersion property.
        Returns:
        the policyVersion value.
      • policyParameters

        public PolicyParameters policyParameters()
        Get the policyParameters property: Policy parameters for the backup instance.
        Returns:
        the policyParameters value.
      • withPolicyParameters

        public PolicyInfo withPolicyParameters​(PolicyParameters policyParameters)
        Set the policyParameters property: Policy parameters for the backup instance.
        Parameters:
        policyParameters - the policyParameters value to set.
        Returns:
        the PolicyInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.