public final class FieldRestriction extends Object
Constructor and Description |
---|
FieldRestriction() |
Modifier and Type | Method and Description |
---|---|
String |
defaultValue()
Get the defaultValue property: The value that policy will set for the field if the user does not provide a value.
|
PolicyReference |
policy()
Get the policy property: The details of the policy that is causing the field restriction.
|
FieldRestrictionResult |
result()
Get the result property: The type of restriction that is imposed on the field.
|
void |
validate()
Validates the instance.
|
List<String> |
values()
Get the values property: The values that policy either requires or denies for the field.
|
public FieldRestrictionResult result()
public String defaultValue()
public List<String> values()
public PolicyReference policy()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.