Class DenyAssignmentPermission
- java.lang.Object
-
- com.azure.resourcemanager.authorization.models.DenyAssignmentPermission
-
public final class DenyAssignmentPermission extends Object
Deny assignment permissions.
-
-
Constructor Summary
Constructors Constructor Description DenyAssignmentPermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>actions()Get the actions property: Actions to which the deny assignment does not grant access.List<String>dataActions()Get the dataActions property: Data actions to which the deny assignment does not grant access.List<String>notActions()Get the notActions property: Actions to exclude from that the deny assignment does not grant access.List<String>notDataActions()Get the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.voidvalidate()Validates the instance.DenyAssignmentPermissionwithActions(List<String> actions)Set the actions property: Actions to which the deny assignment does not grant access.DenyAssignmentPermissionwithDataActions(List<String> dataActions)Set the dataActions property: Data actions to which the deny assignment does not grant access.DenyAssignmentPermissionwithNotActions(List<String> notActions)Set the notActions property: Actions to exclude from that the deny assignment does not grant access.DenyAssignmentPermissionwithNotDataActions(List<String> notDataActions)Set the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.
-
-
-
Method Detail
-
actions
public List<String> actions()
Get the actions property: Actions to which the deny assignment does not grant access.- Returns:
- the actions value.
-
withActions
public DenyAssignmentPermission withActions(List<String> actions)
Set the actions property: Actions to which the deny assignment does not grant access.- Parameters:
actions- the actions value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
notActions
public List<String> notActions()
Get the notActions property: Actions to exclude from that the deny assignment does not grant access.- Returns:
- the notActions value.
-
withNotActions
public DenyAssignmentPermission withNotActions(List<String> notActions)
Set the notActions property: Actions to exclude from that the deny assignment does not grant access.- Parameters:
notActions- the notActions value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
dataActions
public List<String> dataActions()
Get the dataActions property: Data actions to which the deny assignment does not grant access.- Returns:
- the dataActions value.
-
withDataActions
public DenyAssignmentPermission withDataActions(List<String> dataActions)
Set the dataActions property: Data actions to which the deny assignment does not grant access.- Parameters:
dataActions- the dataActions value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
notDataActions
public List<String> notDataActions()
Get the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.- Returns:
- the notDataActions value.
-
withNotDataActions
public DenyAssignmentPermission withNotDataActions(List<String> notDataActions)
Set the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.- Parameters:
notDataActions- the notDataActions value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-