AccessControlRulesIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. AccessControlRulesIdentity
- com.
Implements
public final class AccessControlRulesIdentity
implements JsonSerializable<AccessControlRulesIdentity>
The properties of an Access Control Rule Identity.
Constructor Summary
Constructor | Description |
---|---|
AccessControlRulesIdentity() |
Creates an instance of Access |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
exePath()
Get the exe |
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
String |
groupName()
Get the group |
String |
name()
Get the name property: The name of the identity. |
String |
processName()
Get the process |
Json |
toJson(JsonWriter jsonWriter) |
String |
username()
Get the username property: The username corresponding to this identity. |
void |
validate()
Validates the instance. |
Access |
withExePath(String exePath)
Set the exe |
Access |
withGroupName(String groupName)
Set the group |
Access |
withName(String name)
Set the name property: The name of the identity. |
Access |
withProcessName(String processName)
Set the process |
Access |
withUsername(String username)
Set the username property: The username corresponding to this identity. |
Methods inherited from java.lang.Object
Constructor Details
AccessControlRulesIdentity
public AccessControlRulesIdentity()
Creates an instance of AccessControlRulesIdentity class.
Method Details
exePath
public String exePath()
Get the exePath property: The path to the executable.
Returns:
fromJson
public static AccessControlRulesIdentity fromJson(JsonReader jsonReader)
Reads an instance of AccessControlRulesIdentity from the JsonReader.
Parameters:
Returns:
Throws:
groupName
public String groupName()
Get the groupName property: The groupName corresponding to this identity.
Returns:
name
public String name()
Get the name property: The name of the identity.
Returns:
processName
public String processName()
Get the processName property: The process name of the executable.
Returns:
toJson
username
public String username()
Get the username property: The username corresponding to this identity.
Returns:
validate
public void validate()
Validates the instance.
withExePath
public AccessControlRulesIdentity withExePath(String exePath)
Set the exePath property: The path to the executable.
Parameters:
Returns:
withGroupName
public AccessControlRulesIdentity withGroupName(String groupName)
Set the groupName property: The groupName corresponding to this identity.
Parameters:
Returns:
withName
public AccessControlRulesIdentity withName(String name)
Set the name property: The name of the identity.
Parameters:
Returns:
withProcessName
public AccessControlRulesIdentity withProcessName(String processName)
Set the processName property: The process name of the executable.
Parameters:
Returns:
withUsername
public AccessControlRulesIdentity withUsername(String username)
Set the username property: The username corresponding to this identity.
Parameters:
Returns:
Applies to
Azure SDK for Java