Class PermissionInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.PermissionInner
-
public final class PermissionInner extends Object
Role definition permissions.
-
-
Constructor Summary
Constructors Constructor Description PermissionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
actions()
Get the actions property: Allowed actions.List<String>
dataActions()
Get the dataActions property: Allowed Data actions.List<String>
notActions()
Get the notActions property: Denied actions.List<String>
notDataActions()
Get the notDataActions property: Denied Data actions.void
validate()
Validates the instance.PermissionInner
withActions(List<String> actions)
Set the actions property: Allowed actions.PermissionInner
withDataActions(List<String> dataActions)
Set the dataActions property: Allowed Data actions.PermissionInner
withNotActions(List<String> notActions)
Set the notActions property: Denied actions.PermissionInner
withNotDataActions(List<String> notDataActions)
Set the notDataActions property: Denied Data actions.
-
-
-
Method Detail
-
actions
public List<String> actions()
Get the actions property: Allowed actions.- Returns:
- the actions value.
-
withActions
public PermissionInner withActions(List<String> actions)
Set the actions property: Allowed actions.- Parameters:
actions
- the actions value to set.- Returns:
- the PermissionInner object itself.
-
notActions
public List<String> notActions()
Get the notActions property: Denied actions.- Returns:
- the notActions value.
-
withNotActions
public PermissionInner withNotActions(List<String> notActions)
Set the notActions property: Denied actions.- Parameters:
notActions
- the notActions value to set.- Returns:
- the PermissionInner object itself.
-
dataActions
public List<String> dataActions()
Get the dataActions property: Allowed Data actions.- Returns:
- the dataActions value.
-
withDataActions
public PermissionInner withDataActions(List<String> dataActions)
Set the dataActions property: Allowed Data actions.- Parameters:
dataActions
- the dataActions value to set.- Returns:
- the PermissionInner object itself.
-
notDataActions
public List<String> notDataActions()
Get the notDataActions property: Denied Data actions.- Returns:
- the notDataActions value.
-
withNotDataActions
public PermissionInner withNotDataActions(List<String> notDataActions)
Set the notDataActions property: Denied Data actions.- Parameters:
notDataActions
- the notDataActions value to set.- Returns:
- the PermissionInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-