KeyVaultRoleDefinition Class
- java.
lang. Object - com.
azure. security. keyvault. administration. models. KeyVaultRoleDefinition
- com.
public final class KeyVaultRoleDefinition
A class that defines a role.
Constructor Summary
| Constructor | Description |
|---|---|
| KeyVaultRoleDefinition(String id, String name, KeyVaultRoleDefinitionType type, String roleName, String description, KeyVaultRoleType roleType, List<KeyVaultPermission> permissions, List<KeyVaultRoleScope> assignableScopes) |
Creates a new KeyVaultRoleDefinition with the specified details. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Key |
getAssignableScopes()
Get the KeyVaultRoleDefinition's assignable scopes. |
| String |
getDescription()
Get the role description. |
| String |
getId()
Get the KeyVaultRoleDefinition ID. |
| String |
getName()
Get the KeyVaultRoleDefinition name. |
|
List<Key |
getPermissions()
Get the KeyVaultRoleDefinition's KeyVaultPermission. |
| String |
getRoleName()
Get the role name. |
|
Key |
getRoleType()
Get the role type. |
|
Key |
getType()
Get the KeyVaultRoleDefinitionType. |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultRoleDefinition
public KeyVaultRoleDefinition(String id, String name, KeyVaultRoleDefinitionType type, String roleName, String description, KeyVaultRoleType roleType, List<KeyVaultPermission> permissions, List<KeyVaultRoleScope> assignableScopes)
Creates a new KeyVaultRoleDefinition with the specified details.
Parameters:
Method Details
getAssignableScopes
public List<KeyVaultRoleScope> getAssignableScopes()
Get the KeyVaultRoleDefinition's assignable scopes.
Returns:
getDescription
public String getDescription()
Get the role description.
Returns:
getId
getName
public String getName()
Get the KeyVaultRoleDefinition name.
Returns:
getPermissions
public List<KeyVaultPermission> getPermissions()
Get the KeyVaultRoleDefinition's KeyVaultPermission.
Returns:
getRoleName
public String getRoleName()
Get the role name.
Returns:
getRoleType
public KeyVaultRoleType getRoleType()
Get the role type.
Returns: