Class ImmutabilitySettings
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings
Immutability Settings of vault.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstate()
Get the state property: The state property.void
validate()
Validates the instance.withState
(ImmutabilityState state) Set the state property: The state property.
-
Constructor Details
-
ImmutabilitySettings
public ImmutabilitySettings()Creates an instance of ImmutabilitySettings class.
-
-
Method Details
-
state
Get the state property: The state property.- Returns:
- the state value.
-
withState
Set the state property: The state property.- Parameters:
state
- the state value to set.- Returns:
- the ImmutabilitySettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-