Class FindRolesRequest

Object
PagedRequest
FindRolesRequest
All Implemented Interfaces:
Serializable

public class FindRolesRequest extends PagedRequest
Represents the search criteria to find a role.
See Also:
  • Constructor Details

    • FindRolesRequest

      public FindRolesRequest()
  • Method Details

    • builder

      public static FindRolesRequest.Builder builder()
    • getName

      public String getName()
      The name of the role to search for.
    • getNameMatchMode

      public MatchMode getNameMatchMode()
      The match mode used to compare name. The search is case-insensitive.
    • getDescription

      public String getDescription()
      The description of the role to search for.
    • getGlobal

      @Deprecated public Boolean getGlobal()
      Deprecated.
      Whether global roles should be searched for.
    • getOwnerId

      public UUID getOwnerId()
    • getRoleInheritanceMode

      public FindRolesRequest.RoleInheritanceMode getRoleInheritanceMode()
    • getSortField

      public RoleRequestSortField getSortField()
    • getSortOrder

      public SortOrder getSortOrder()
    • getType

      Indicates which type of roles should be searched for. Usage is mutually exclusive with the deprecated global flag.
    • setName

      public void setName(String name)
      The name of the role to search for.
    • setNameMatchMode

      public void setNameMatchMode(MatchMode nameMatchMode)
      The match mode used to compare name. The search is case-insensitive.
    • setDescription

      public void setDescription(String description)
      The description of the role to search for.
    • setGlobal

      @Deprecated public void setGlobal(Boolean global)
      Deprecated.
      Whether global roles should be searched for.
    • setOwnerId

      public void setOwnerId(UUID ownerId)
    • setRoleInheritanceMode

      public void setRoleInheritanceMode(FindRolesRequest.RoleInheritanceMode roleInheritanceMode)
    • setSortField

      public void setSortField(RoleRequestSortField sortField)
    • setSortOrder

      public void setSortOrder(SortOrder sortOrder)
    • setType

      public void setType(FindRolesRequest.TypeMatchMode type)
      Indicates which type of roles should be searched for. Usage is mutually exclusive with the deprecated global flag.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class PagedRequest
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class PagedRequest
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PagedRequest
    • toString

      public String toString()
      Overrides:
      toString in class PagedRequest