Class RoleAssignmentEntityInner
java.lang.Object
com.azure.resourcemanager.billingbenefits.fluent.models.RoleAssignmentEntityInner
Role assignment entity.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RoleAssignmentEntityInner class. -
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: Role assignment entity id.name()
Get the name property: Role assignment entity name.Get 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.Set the id property: Role assignment entity id.Set the name property: Role assignment entity name.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
-
RoleAssignmentEntityInner
public RoleAssignmentEntityInner()Creates an instance of RoleAssignmentEntityInner class.
-
-
Method Details
-
id
Get the id property: Role assignment entity id.- Returns:
- the id value.
-
withId
Set the id property: Role assignment entity id.- Parameters:
id
- the id value to set.- Returns:
- the RoleAssignmentEntityInner object itself.
-
name
Get the name property: Role assignment entity name.- Returns:
- the name value.
-
withName
Set the name property: Role assignment entity name.- Parameters:
name
- the name value to set.- Returns:
- the RoleAssignmentEntityInner object itself.
-
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 RoleAssignmentEntityInner 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 RoleAssignmentEntityInner 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 RoleAssignmentEntityInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-