public class ManagementLockObjectInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
ManagementLockObjectInner() |
| Modifier and Type | Method and Description |
|---|---|
LockLevel |
level()
Get the level property: The level of the lock.
|
String |
notes()
Get the notes property: Notes about the lock.
|
List<ManagementLockOwner> |
owners()
Get the owners property: The owners of the lock.
|
void |
validate()
Validates the instance.
|
ManagementLockObjectInner |
withLevel(LockLevel level)
Set the level property: The level of the lock.
|
ManagementLockObjectInner |
withNotes(String notes)
Set the notes property: Notes about the lock.
|
ManagementLockObjectInner |
withOwners(List<ManagementLockOwner> owners)
Set the owners property: The owners of the lock.
|
public LockLevel level()
public ManagementLockObjectInner withLevel(LockLevel level)
level - the level value to set.public String notes()
public ManagementLockObjectInner withNotes(String notes)
notes - the notes value to set.public List<ManagementLockOwner> owners()
public ManagementLockObjectInner withOwners(List<ManagementLockOwner> owners)
owners - the owners value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.