OverrideModel Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. OverrideModel
- com.
Implements
public final class OverrideModel
implements JsonSerializable<OverrideModel>
The policy property value override.
Constructor Summary
Constructor | Description |
---|---|
OverrideModel() |
Creates an instance of Override |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Override |
fromJson(JsonReader jsonReader)
Reads an instance of Override |
Override |
kind()
Get the kind property: The override kind. |
List<Selector> |
selectors()
Get the selectors property: The list of the selector expressions. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The value to override the policy property. |
Override |
withKind(OverrideKind kind)
Set the kind property: The override kind. |
Override |
withSelectors(List<Selector> selectors)
Set the selectors property: The list of the selector expressions. |
Override |
withValue(String value)
Set the value property: The value to override the policy property. |
Methods inherited from java.lang.Object
Constructor Details
OverrideModel
public OverrideModel()
Creates an instance of OverrideModel class.
Method Details
fromJson
public static OverrideModel fromJson(JsonReader jsonReader)
Reads an instance of OverrideModel from the JsonReader.
Parameters:
Returns:
Throws:
kind
public OverrideKind kind()
Get the kind property: The override kind.
Returns:
selectors
public List
Get the selectors property: The list of the selector expressions.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The value to override the policy property.
Returns:
withKind
public OverrideModel withKind(OverrideKind kind)
Set the kind property: The override kind.
Parameters:
Returns:
withSelectors
public OverrideModel withSelectors(List
Set the selectors property: The list of the selector expressions.
Parameters:
Returns:
withValue
public OverrideModel withValue(String value)
Set the value property: The value to override the policy property.
Parameters:
Returns:
Applies to
Azure SDK for Java