public final class GeoBackupPolicyProperties extends Object
Constructor and Description |
---|
GeoBackupPolicyProperties() |
Modifier and Type | Method and 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.
|
public GeoBackupPolicyState state()
public GeoBackupPolicyProperties withState(GeoBackupPolicyState state)
state
- the state value to set.public String storageType()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.