Class GeoBackupPolicyProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.GeoBackupPolicyProperties
The properties of the geo backup policy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GeoBackupPolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstate()Get the state property: The state of the geo backup policy.Get the storageType property: The storage type of the geo backup policy.voidvalidate()Validates the instance.withState(GeoBackupPolicyState state) Set the state property: The state of the geo backup policy.
-
Constructor Details
-
GeoBackupPolicyProperties
public GeoBackupPolicyProperties()Creates an instance of GeoBackupPolicyProperties class.
-
-
Method Details
-
state
Get the state property: The state of the geo backup policy.- Returns:
- the state value.
-
withState
Set the state property: The state of the geo backup policy.- Parameters:
state- the state value to set.- Returns:
- the GeoBackupPolicyProperties object itself.
-
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.
-