Class GeoBackupPolicyProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.GeoBackupPolicyProperties
-
public final class GeoBackupPolicyProperties extends Object
The properties of the geo backup policy.
-
-
Constructor Summary
Constructors Constructor Description GeoBackupPolicyProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoBackupPolicyState
state()
Get the state property: The state of the geo backup policy.String
storageType()
Get the storageType property: The storage type of the geo backup policy.void
validate()
Validates the instance.GeoBackupPolicyProperties
withState(GeoBackupPolicyState state)
Set the state property: The state of the geo backup policy.
-
-
-
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.
-
-