PermissionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.PermissionInner

Implements

public final class PermissionInner
implements JsonSerializable<PermissionInner>

Role definition permissions.

Constructor Summary

Constructor Description
PermissionInner()

Creates an instance of PermissionInner class.

Method Summary

Modifier and Type Method and Description
List<String> actions()

Get the actions property: Allowed actions.

List<String> dataActions()

Get the dataActions property: Allowed Data actions.

static PermissionInner fromJson(JsonReader jsonReader)

Reads an instance of PermissionInner from the JsonReader.

List<String> notActions()

Get the notActions property: Denied actions.

List<String> notDataActions()

Get the notDataActions property: Denied Data actions.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

PermissionInner

public PermissionInner()

Creates an instance of PermissionInner class.

Method Details

actions

public List actions()

Get the actions property: Allowed actions.

Returns:

the actions value.

dataActions

public List dataActions()

Get the dataActions property: Allowed Data actions.

Returns:

the dataActions value.

fromJson

public static PermissionInner fromJson(JsonReader jsonReader)

Reads an instance of PermissionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PermissionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PermissionInner.

notActions

public List notActions()

Get the notActions property: Denied actions.

Returns:

the notActions value.

notDataActions

public List notDataActions()

Get the notDataActions property: Denied Data actions.

Returns:

the notDataActions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActions

public PermissionInner withActions(List actions)

Set the actions property: Allowed actions.

Parameters:

actions - the actions value to set.

Returns:

the PermissionInner object itself.

withDataActions

public PermissionInner withDataActions(List dataActions)

Set the dataActions property: Allowed Data actions.

Parameters:

dataActions - the dataActions value to set.

Returns:

the PermissionInner object itself.

withNotActions

public PermissionInner withNotActions(List notActions)

Set the notActions property: Denied actions.

Parameters:

notActions - the notActions value to set.

Returns:

the PermissionInner object itself.

withNotDataActions

public PermissionInner withNotDataActions(List notDataActions)

Set the notDataActions property: Denied Data actions.

Parameters:

notDataActions - the notDataActions value to set.

Returns:

the PermissionInner object itself.

Applies to