Class SecuritySettings
java.lang.Object
com.azure.resourcemanager.dataprotection.models.SecuritySettings
Class containing security settings of vault.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the immutabilitySettings property: Immutability Settings at vault level.Get the softDeleteSettings property: Soft delete related settings.void
validate()
Validates the instance.withImmutabilitySettings
(ImmutabilitySettings immutabilitySettings) Set the immutabilitySettings property: Immutability Settings at vault level.withSoftDeleteSettings
(SoftDeleteSettings softDeleteSettings) Set the softDeleteSettings property: Soft delete related settings.
-
Constructor Details
-
SecuritySettings
public SecuritySettings()Creates an instance of SecuritySettings class.
-
-
Method Details
-
softDeleteSettings
Get the softDeleteSettings property: Soft delete related settings.- Returns:
- the softDeleteSettings value.
-
withSoftDeleteSettings
Set the softDeleteSettings property: Soft delete related settings.- Parameters:
softDeleteSettings
- the softDeleteSettings value to set.- Returns:
- the SecuritySettings object itself.
-
immutabilitySettings
Get the immutabilitySettings property: Immutability Settings at vault level.- Returns:
- the immutabilitySettings value.
-
withImmutabilitySettings
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.
-