public final class PendingField extends Object
Constructor and Description |
---|
PendingField() |
Modifier and Type | Method and Description |
---|---|
String |
field()
Get the field property: The name of the field.
|
void |
validate()
Validates the instance.
|
List<String> |
values()
Get the values property: The list of potential values for the field that should be evaluated against Azure
Policy.
|
PendingField |
withField(String field)
Set the field property: The name of the field.
|
PendingField |
withValues(List<String> values)
Set the values property: The list of potential values for the field that should be evaluated against Azure
Policy.
|
public String field()
public PendingField withField(String field)
field
- the field value to set.public List<String> values()
public PendingField withValues(List<String> values)
values
- the values value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.