### YamlMime:JavaType uid: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings" fullName: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings" name: "ImmutabilitySettings" nameWithType: "ImmutabilitySettings" summary: "Immutability Settings of vault." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **ImmutabilitySettings**" constructors: - uid: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings.ImmutabilitySettings()" fullName: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings.ImmutabilitySettings()" name: "ImmutabilitySettings()" nameWithType: "ImmutabilitySettings.ImmutabilitySettings()" summary: "Creates an instance of ImmutabilitySettings class." syntax: "public ImmutabilitySettings()" desc: "Creates an instance of ImmutabilitySettings class." methods: - uid: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings.state()" fullName: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings.state()" name: "state()" nameWithType: "ImmutabilitySettings.state()" summary: "Get the state property: The state property." syntax: "public ImmutabilityState state()" desc: "Get the state property: The state property." returns: description: "the state value." type: "" - uid: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings.validate()" fullName: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings.validate()" name: "validate()" nameWithType: "ImmutabilitySettings.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings.withState(com.azure.resourcemanager.recoveryservices.models.ImmutabilityState)" fullName: "com.azure.resourcemanager.recoveryservices.models.ImmutabilitySettings.withState(ImmutabilityState state)" name: "withState(ImmutabilityState state)" nameWithType: "ImmutabilitySettings.withState(ImmutabilityState state)" summary: "Set the state property: The state property." parameters: - description: "the state value to set." name: "state" type: "" syntax: "public ImmutabilitySettings withState(ImmutabilityState state)" desc: "Set the state property: The state property." returns: description: "the ImmutabilitySettings object itself." type: "" type: "class" desc: "Immutability Settings of vault." metadata: {} package: "com.azure.resourcemanager.recoveryservices.models" artifact: com.azure.resourcemanager:azure-resourcemanager-recoveryservices:1.3.0