Class RoleAssignmentEntityInner

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

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

    • RoleAssignmentEntityInner

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

    • id

      public String id()
      Get the id property: Role assignment entity id.
      Returns:
      the id value.
    • withId

      public RoleAssignmentEntityInner withId(String id)
      Set the id property: Role assignment entity id.
      Parameters:
      id - the id value to set.
      Returns:
      the RoleAssignmentEntityInner object itself.
    • name

      public String name()
      Get the name property: Role assignment entity name.
      Returns:
      the name value.
    • withName

      public RoleAssignmentEntityInner withName(String name)
      Set the name property: Role assignment entity name.
      Parameters:
      name - the name value to set.
      Returns:
      the RoleAssignmentEntityInner object itself.
    • principalId

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

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

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

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

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

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