RoleDefinitionProperties Class
- java.
lang. Object - com.
microsoft. azure. management. graphrbac. RoleDefinitionProperties
- com.
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. |
Role |
withAssignableScopes(List<String> assignableScopes)
Set the assignableScopes value. |
Role |
withDescription(String description)
Set the description value. |
Role |
withPermissions(List<PermissionInner> permissions)
Set the permissions value. |
Role |
withRoleName(String roleName)
Set the roleName value. |
Role |
withType(String type)
Set the type value. |
Method Details
assignableScopes
public List
Get the assignableScopes value.
Returns:
description
public String description()
Get the description value.
Returns:
permissions
public List
Get the permissions value.
Returns:
roleName
public String roleName()
Get the roleName value.
Returns:
type
public String type()
Get the type value.
Returns:
withAssignableScopes
public RoleDefinitionProperties withAssignableScopes(List
Set the assignableScopes value.
Parameters:
Returns:
withDescription
public RoleDefinitionProperties withDescription(String description)
Set the description value.
Parameters:
Returns:
withPermissions
public RoleDefinitionProperties withPermissions(List
Set the permissions value.
Parameters:
Returns:
withRoleName
public RoleDefinitionProperties withRoleName(String roleName)
Set the roleName value.
Parameters:
Returns:
withType
public RoleDefinitionProperties withType(String type)
Set the type value.
Parameters:
Returns:
Applies to
Azure SDK for Java