AccessControlRulesPrivilege Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. AccessControlRulesPrivilege
- com.
Implements
public final class AccessControlRulesPrivilege
implements JsonSerializable<AccessControlRulesPrivilege>
The properties of an Access Control Rule Privilege.
Constructor Summary
Constructor | Description |
---|---|
AccessControlRulesPrivilege() |
Creates an instance of Access |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
String |
name()
Get the name property: The name of the privilege. |
String |
path()
Get the path property: The HTTP path corresponding to the privilege. |
Map<String,String> |
queryParameters()
Get the query |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Access |
withName(String name)
Set the name property: The name of the privilege. |
Access |
withPath(String path)
Set the path property: The HTTP path corresponding to the privilege. |
Access |
withQueryParameters(Map<String,String> queryParameters)
Set the query |
Methods inherited from java.lang.Object
Constructor Details
AccessControlRulesPrivilege
public AccessControlRulesPrivilege()
Creates an instance of AccessControlRulesPrivilege class.
Method Details
fromJson
public static AccessControlRulesPrivilege fromJson(JsonReader jsonReader)
Reads an instance of AccessControlRulesPrivilege from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the privilege.
Returns:
path
public String path()
Get the path property: The HTTP path corresponding to the privilege.
Returns:
queryParameters
public Map
Get the queryParameters property: The query parameters to match in the path.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public AccessControlRulesPrivilege withName(String name)
Set the name property: The name of the privilege.
Parameters:
Returns:
withPath
public AccessControlRulesPrivilege withPath(String path)
Set the path property: The HTTP path corresponding to the privilege.
Parameters:
Returns:
withQueryParameters
public AccessControlRulesPrivilege withQueryParameters(Map
Set the queryParameters property: The query parameters to match in the path.
Parameters:
Returns: