@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserSearchCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The search criteria to be used to return users.
The name
and description
fields support "contains" queries with a minimum of 2 characters
and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
Constructor and Description |
---|
UserSearchCriteria() |
Modifier and Type | Method and Description |
---|---|
UserSearchCriteria |
clone() |
boolean |
equals(Object obj) |
List<UserSearchCriteria> |
getAndConditions()
A list of conditions which would be applied together with an
AND condition. |
HierarchyGroupCondition |
getHierarchyGroupCondition()
A leaf node condition which can be used to specify a hierarchy group condition.
|
ListCondition |
getListCondition()
A leaf node condition which can be used to specify a List condition to search users with attributes included in
Lists like Proficiencies.
|
List<UserSearchCriteria> |
getOrConditions()
A list of conditions which would be applied together with an
OR condition. |
StringCondition |
getStringCondition()
A leaf node condition which can be used to specify a string condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAndConditions(Collection<UserSearchCriteria> andConditions)
A list of conditions which would be applied together with an
AND condition. |
void |
setHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
A leaf node condition which can be used to specify a hierarchy group condition.
|
void |
setListCondition(ListCondition listCondition)
A leaf node condition which can be used to specify a List condition to search users with attributes included in
Lists like Proficiencies.
|
void |
setOrConditions(Collection<UserSearchCriteria> orConditions)
A list of conditions which would be applied together with an
OR condition. |
void |
setStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
|
String |
toString()
Returns a string representation of this object.
|
UserSearchCriteria |
withAndConditions(Collection<UserSearchCriteria> andConditions)
A list of conditions which would be applied together with an
AND condition. |
UserSearchCriteria |
withAndConditions(UserSearchCriteria... andConditions)
A list of conditions which would be applied together with an
AND condition. |
UserSearchCriteria |
withHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
A leaf node condition which can be used to specify a hierarchy group condition.
|
UserSearchCriteria |
withListCondition(ListCondition listCondition)
A leaf node condition which can be used to specify a List condition to search users with attributes included in
Lists like Proficiencies.
|
UserSearchCriteria |
withOrConditions(Collection<UserSearchCriteria> orConditions)
A list of conditions which would be applied together with an
OR condition. |
UserSearchCriteria |
withOrConditions(UserSearchCriteria... orConditions)
A list of conditions which would be applied together with an
OR condition. |
UserSearchCriteria |
withStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
|
public List<UserSearchCriteria> getOrConditions()
A list of conditions which would be applied together with an OR
condition.
OR
condition.public void setOrConditions(Collection<UserSearchCriteria> orConditions)
A list of conditions which would be applied together with an OR
condition.
orConditions
- A list of conditions which would be applied together with an OR
condition.public UserSearchCriteria withOrConditions(UserSearchCriteria... orConditions)
A list of conditions which would be applied together with an OR
condition.
NOTE: This method appends the values to the existing list (if any). Use
setOrConditions(java.util.Collection)
or withOrConditions(java.util.Collection)
if you want to
override the existing values.
orConditions
- A list of conditions which would be applied together with an OR
condition.public UserSearchCriteria withOrConditions(Collection<UserSearchCriteria> orConditions)
A list of conditions which would be applied together with an OR
condition.
orConditions
- A list of conditions which would be applied together with an OR
condition.public List<UserSearchCriteria> getAndConditions()
A list of conditions which would be applied together with an AND
condition.
AND
condition.public void setAndConditions(Collection<UserSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND
condition.
andConditions
- A list of conditions which would be applied together with an AND
condition.public UserSearchCriteria withAndConditions(UserSearchCriteria... andConditions)
A list of conditions which would be applied together with an AND
condition.
NOTE: This method appends the values to the existing list (if any). Use
setAndConditions(java.util.Collection)
or withAndConditions(java.util.Collection)
if you want
to override the existing values.
andConditions
- A list of conditions which would be applied together with an AND
condition.public UserSearchCriteria withAndConditions(Collection<UserSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND
condition.
andConditions
- A list of conditions which would be applied together with an AND
condition.public void setStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are Username
, FirstName
,
LastName
, RoutingProfileId
, SecurityProfileId
, ResourceId
.
stringCondition
- A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are Username
,
FirstName
, LastName
, RoutingProfileId
,
SecurityProfileId
, ResourceId
.
public StringCondition getStringCondition()
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are Username
, FirstName
,
LastName
, RoutingProfileId
, SecurityProfileId
, ResourceId
.
The currently supported values for FieldName
are Username
,
FirstName
, LastName
, RoutingProfileId
,
SecurityProfileId
, ResourceId
.
public UserSearchCriteria withStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are Username
, FirstName
,
LastName
, RoutingProfileId
, SecurityProfileId
, ResourceId
.
stringCondition
- A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are Username
,
FirstName
, LastName
, RoutingProfileId
,
SecurityProfileId
, ResourceId
.
public void setListCondition(ListCondition listCondition)
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
listCondition
- A leaf node condition which can be used to specify a List condition to search users with attributes
included in Lists like Proficiencies.public ListCondition getListCondition()
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
public UserSearchCriteria withListCondition(ListCondition listCondition)
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
listCondition
- A leaf node condition which can be used to specify a List condition to search users with attributes
included in Lists like Proficiencies.public void setHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
A leaf node condition which can be used to specify a hierarchy group condition.
hierarchyGroupCondition
- A leaf node condition which can be used to specify a hierarchy group condition.public HierarchyGroupCondition getHierarchyGroupCondition()
A leaf node condition which can be used to specify a hierarchy group condition.
public UserSearchCriteria withHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
A leaf node condition which can be used to specify a hierarchy group condition.
hierarchyGroupCondition
- A leaf node condition which can be used to specify a hierarchy group condition.public String toString()
toString
in class Object
Object.toString()
public UserSearchCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.