Class ImmutabilitySettings

java.lang.Object
com.azure.resourcemanager.dataprotection.models.ImmutabilitySettings

public final class ImmutabilitySettings extends Object
Immutability Settings at vault level.
  • Constructor Details

    • ImmutabilitySettings

      public ImmutabilitySettings()
      Creates an instance of ImmutabilitySettings class.
  • Method Details

    • state

      public ImmutabilityState state()
      Get the state property: Immutability state.
      Returns:
      the state value.
    • withState

      public ImmutabilitySettings withState(ImmutabilityState state)
      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.