Permission Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. Permission
- com.
Implements
public final class Permission
implements JsonSerializable<Permission>
Role definition permissions.
Constructor Summary
Constructor | Description |
---|---|
Permission() |
Creates an instance of Permission class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
actions()
Get the actions property: Allowed actions. |
List<String> |
dataActions()
Get the data |
static Permission |
fromJson(JsonReader jsonReader)
Reads an instance of Permission from the Json |
List<String> |
notActions()
Get the not |
List<String> |
notDataActions()
Get the not |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Permission |
withActions(List<String> actions)
Set the actions property: Allowed actions. |
Permission |
withDataActions(List<String> dataActions)
Set the data |
Permission |
withNotActions(List<String> notActions)
Set the not |
Permission |
withNotDataActions(List<String> notDataActions)
Set the not |
Methods inherited from java.lang.Object
Constructor Details
Permission
public Permission()
Creates an instance of Permission class.
Method Details
actions
public List
Get the actions property: Allowed actions.
Returns:
dataActions
public List
Get the dataActions property: Allowed Data actions.
Returns:
fromJson
public static Permission fromJson(JsonReader jsonReader)
Reads an instance of Permission from the JsonReader.
Parameters:
Returns:
Throws:
notActions
public List
Get the notActions property: Denied actions.
Returns:
notDataActions
public List
Get the notDataActions property: Denied Data actions.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActions
public Permission withActions(List
Set the actions property: Allowed actions.
Parameters:
Returns:
withDataActions
public Permission withDataActions(List
Set the dataActions property: Allowed Data actions.
Parameters:
Returns:
withNotActions
public Permission withNotActions(List
Set the notActions property: Denied actions.
Parameters:
Returns:
withNotDataActions
public Permission withNotDataActions(List
Set the notDataActions property: Denied Data actions.
Parameters:
Returns:
Applies to
Azure SDK for Java