Class GeoBackupPolicyProperties


  • public final class GeoBackupPolicyProperties
    extends Object
    The properties of the geo backup policy.
    • Constructor Detail

      • GeoBackupPolicyProperties

        public GeoBackupPolicyProperties()
    • Method Detail

      • state

        public GeoBackupPolicyState state()
        Get the state property: The state of the geo backup policy.
        Returns:
        the state value.
      • withState

        public GeoBackupPolicyProperties withState​(GeoBackupPolicyState state)
        Set the state property: The state of the geo backup policy.
        Parameters:
        state - the state value to set.
        Returns:
        the GeoBackupPolicyProperties object itself.
      • storageType

        public String storageType()
        Get the storageType property: The storage type of the geo backup policy.
        Returns:
        the storageType value.
      • validate

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