RoleDefinitionProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.graphrbac.RoleDefinitionProperties

public class RoleDefinitionProperties

Role definition properties.

Method Summary

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

Get the assignableScopes value.

String description()

Get the description value.

List<PermissionInner> permissions()

Get the permissions value.

String roleName()

Get the roleName value.

String type()

Get the type value.

RoleDefinitionProperties withAssignableScopes(List<String> assignableScopes)

Set the assignableScopes value.

RoleDefinitionProperties withDescription(String description)

Set the description value.

RoleDefinitionProperties withPermissions(List<PermissionInner> permissions)

Set the permissions value.

RoleDefinitionProperties withRoleName(String roleName)

Set the roleName value.

RoleDefinitionProperties withType(String type)

Set the type value.

Method Details

assignableScopes

public List assignableScopes()

Get the assignableScopes value.

Returns:

the assignableScopes value

description

public String description()

Get the description value.

Returns:

the description value

permissions

public List permissions()

Get the permissions value.

Returns:

the permissions value

roleName

public String roleName()

Get the roleName value.

Returns:

the roleName value

type

public String type()

Get the type value.

Returns:

the type value

withAssignableScopes

public RoleDefinitionProperties withAssignableScopes(List assignableScopes)

Set the assignableScopes value.

Parameters:

assignableScopes - the assignableScopes value to set

Returns:

the RoleDefinitionProperties object itself.

withDescription

public RoleDefinitionProperties withDescription(String description)

Set the description value.

Parameters:

description - the description value to set

Returns:

the RoleDefinitionProperties object itself.

withPermissions

public RoleDefinitionProperties withPermissions(List permissions)

Set the permissions value.

Parameters:

permissions - the permissions value to set

Returns:

the RoleDefinitionProperties object itself.

withRoleName

public RoleDefinitionProperties withRoleName(String roleName)

Set the roleName value.

Parameters:

roleName - the roleName value to set

Returns:

the RoleDefinitionProperties object itself.

withType

public RoleDefinitionProperties withType(String type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the RoleDefinitionProperties object itself.

Applies to