Class RoleAssignmentEntityProperties
java.lang.Object
com.azure.resourcemanager.billingbenefits.fluent.models.RoleAssignmentEntityProperties
Role assignment entity properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RoleAssignmentEntityProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: Principal Id.Get the roleDefinitionId property: Role definition id.scope()
Get the scope property: Scope of the role assignment entity.void
validate()
Validates the instance.withPrincipalId
(String principalId) Set the principalId property: Principal Id.withRoleDefinitionId
(String roleDefinitionId) Set the roleDefinitionId property: Role definition id.Set the scope property: Scope of the role assignment entity.
-
Constructor Details
-
RoleAssignmentEntityProperties
public RoleAssignmentEntityProperties()Creates an instance of RoleAssignmentEntityProperties class.
-
-
Method Details
-
principalId
Get the principalId property: Principal Id.- Returns:
- the principalId value.
-
withPrincipalId
Set the principalId property: Principal Id.- Parameters:
principalId
- the principalId value to set.- Returns:
- the RoleAssignmentEntityProperties object itself.
-
roleDefinitionId
Get the roleDefinitionId property: Role definition id.- Returns:
- the roleDefinitionId value.
-
withRoleDefinitionId
Set the roleDefinitionId property: Role definition id.- Parameters:
roleDefinitionId
- the roleDefinitionId value to set.- Returns:
- the RoleAssignmentEntityProperties object itself.
-
scope
Get the scope property: Scope of the role assignment entity.- Returns:
- the scope value.
-
withScope
Set the scope property: Scope of the role assignment entity.- Parameters:
scope
- the scope value to set.- Returns:
- the RoleAssignmentEntityProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-