Class FindRolesRequest
- Object
-
- PagedRequest
-
- FindRolesRequest
-
- All Implemented Interfaces:
Serializable
public class FindRolesRequest extends PagedRequest
Represents the search criteria to find a role.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FindRolesRequest.Builder
static class
FindRolesRequest.TypeMatchMode
-
Field Summary
-
Fields inherited from class PagedRequest
countLimit, limit, offset
-
-
Constructor Summary
Constructors Constructor Description FindRolesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FindRolesRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getDescription()
The description of the role to search for.Boolean
getGlobal()
Deprecated.String
getName()
The name of the role to search for.MatchMode
getNameMatchMode()
The match mode used to comparename
.FindRolesRequest.TypeMatchMode
getType()
Indicates which type of roles should be searched for.int
hashCode()
void
setDescription(String description)
The description of the role to search for.void
setGlobal(Boolean global)
Deprecated.void
setName(String name)
The name of the role to search for.void
setNameMatchMode(MatchMode nameMatchMode)
The match mode used to comparename
.void
setType(FindRolesRequest.TypeMatchMode type)
Indicates which type of roles should be searched for.String
toString()
-
Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
-
-
-
Method Detail
-
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 comparename
. 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.
-
getType
public FindRolesRequest.TypeMatchMode getType()
Indicates which type of roles should be searched for. Usage is mutually exclusive with the deprecatedglobal
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 comparename
. 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.
-
setType
public void setType(FindRolesRequest.TypeMatchMode type)
Indicates which type of roles should be searched for. Usage is mutually exclusive with the deprecatedglobal
flag.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classPagedRequest
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classPagedRequest
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPagedRequest
-
toString
public String toString()
- Overrides:
toString
in classPagedRequest
-
-