Class RoleAssignmentEntityProperties

java.lang.Object
com.azure.resourcemanager.billingbenefits.fluent.models.RoleAssignmentEntityProperties

public final class RoleAssignmentEntityProperties extends Object
Role assignment entity properties.
  • Constructor Details

    • RoleAssignmentEntityProperties

      public RoleAssignmentEntityProperties()
      Creates an instance of RoleAssignmentEntityProperties class.
  • Method Details

    • principalId

      public String principalId()
      Get the principalId property: Principal Id.
      Returns:
      the principalId value.
    • withPrincipalId

      public RoleAssignmentEntityProperties withPrincipalId(String principalId)
      Set the principalId property: Principal Id.
      Parameters:
      principalId - the principalId value to set.
      Returns:
      the RoleAssignmentEntityProperties object itself.
    • roleDefinitionId

      public String roleDefinitionId()
      Get the roleDefinitionId property: Role definition id.
      Returns:
      the roleDefinitionId value.
    • withRoleDefinitionId

      public RoleAssignmentEntityProperties withRoleDefinitionId(String roleDefinitionId)
      Set the roleDefinitionId property: Role definition id.
      Parameters:
      roleDefinitionId - the roleDefinitionId value to set.
      Returns:
      the RoleAssignmentEntityProperties object itself.
    • scope

      public String scope()
      Get the scope property: Scope of the role assignment entity.
      Returns:
      the scope value.
    • withScope

      public RoleAssignmentEntityProperties withScope(String scope)
      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.