AccessRule Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. AccessRule
- com.
Implements
public final class AccessRule
implements JsonSerializable<AccessRule>
Access rule in a network security perimeter configuration profile.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
| String |
name()
Get the name property: Name of the access rule. |
|
Access |
properties()
Get the properties property: The properties property. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AccessRule fromJson(JsonReader jsonReader)
Reads an instance of AccessRule from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the access rule.
Returns:
properties
public AccessRuleProperties properties()
Get the properties property: The properties property.
Returns:
toJson
validate
public void validate()
Validates the instance.