Class ImmutabilitySettings
java.lang.Object
com.azure.resourcemanager.dataprotection.models.ImmutabilitySettings
Immutability Settings at vault level.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstate()
Get the state property: Immutability state.void
validate()
Validates the instance.withState
(ImmutabilityState state) Set the state property: Immutability state.
-
Constructor Details
-
ImmutabilitySettings
public ImmutabilitySettings()Creates an instance of ImmutabilitySettings class.
-
-
Method Details
-
state
Get the state property: Immutability state.- Returns:
- the state value.
-
withState
Set the state property: Immutability state.- 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.
-