PermissionInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. PermissionInner
- com.
Implements
public final class PermissionInner
implements JsonSerializable<PermissionInner>
Role definition permissions.
Constructor Summary
Constructor | Description |
---|---|
PermissionInner() |
Creates an instance of Permission |
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 |
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
PermissionInner
public PermissionInner()
Creates an instance of PermissionInner 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 PermissionInner fromJson(JsonReader jsonReader)
Reads an instance of PermissionInner 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 PermissionInner withActions(List
Set the actions property: Allowed actions.
Parameters:
Returns:
withDataActions
public PermissionInner withDataActions(List
Set the dataActions property: Allowed Data actions.
Parameters:
Returns:
withNotActions
public PermissionInner withNotActions(List
Set the notActions property: Denied actions.
Parameters:
Returns:
withNotDataActions
public PermissionInner withNotDataActions(List
Set the notDataActions property: Denied Data actions.
Parameters:
Returns:
Applies to
Azure SDK for Java