Class SecuritySettings

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

public final class SecuritySettings extends Object
Class containing security settings of vault.
  • Constructor Details

    • SecuritySettings

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

    • softDeleteSettings

      public SoftDeleteSettings softDeleteSettings()
      Get the softDeleteSettings property: Soft delete related settings.
      Returns:
      the softDeleteSettings value.
    • withSoftDeleteSettings

      public SecuritySettings withSoftDeleteSettings(SoftDeleteSettings softDeleteSettings)
      Set the softDeleteSettings property: Soft delete related settings.
      Parameters:
      softDeleteSettings - the softDeleteSettings value to set.
      Returns:
      the SecuritySettings object itself.
    • immutabilitySettings

      public ImmutabilitySettings immutabilitySettings()
      Get the immutabilitySettings property: Immutability Settings at vault level.
      Returns:
      the immutabilitySettings value.
    • withImmutabilitySettings

      public SecuritySettings withImmutabilitySettings(ImmutabilitySettings immutabilitySettings)
      Set the immutabilitySettings property: Immutability Settings at vault level.
      Parameters:
      immutabilitySettings - the immutabilitySettings value to set.
      Returns:
      the SecuritySettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.