@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCondition extends Object implements Serializable, Cloneable, StructuredPojo
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
| Constructor and Description |
|---|
ListCondition() |
| Modifier and Type | Method and Description |
|---|---|
ListCondition |
clone() |
boolean |
equals(Object obj) |
List<Condition> |
getConditions()
A list of Condition objects which would be applied together with an AND condition.
|
String |
getTargetListType()
The type of target list that will be used to filter the users.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConditions(Collection<Condition> conditions)
A list of Condition objects which would be applied together with an AND condition.
|
void |
setTargetListType(String targetListType)
The type of target list that will be used to filter the users.
|
String |
toString()
Returns a string representation of this object.
|
ListCondition |
withConditions(Collection<Condition> conditions)
A list of Condition objects which would be applied together with an AND condition.
|
ListCondition |
withConditions(Condition... conditions)
A list of Condition objects which would be applied together with an AND condition.
|
ListCondition |
withTargetListType(String targetListType)
The type of target list that will be used to filter the users.
|
ListCondition |
withTargetListType(TargetListType targetListType)
The type of target list that will be used to filter the users.
|
public void setTargetListType(String targetListType)
The type of target list that will be used to filter the users.
targetListType - The type of target list that will be used to filter the users.TargetListTypepublic String getTargetListType()
The type of target list that will be used to filter the users.
TargetListTypepublic ListCondition withTargetListType(String targetListType)
The type of target list that will be used to filter the users.
targetListType - The type of target list that will be used to filter the users.TargetListTypepublic ListCondition withTargetListType(TargetListType targetListType)
The type of target list that will be used to filter the users.
targetListType - The type of target list that will be used to filter the users.TargetListTypepublic List<Condition> getConditions()
A list of Condition objects which would be applied together with an AND condition.
public void setConditions(Collection<Condition> conditions)
A list of Condition objects which would be applied together with an AND condition.
conditions - A list of Condition objects which would be applied together with an AND condition.public ListCondition withConditions(Condition... conditions)
A list of Condition objects which would be applied together with an AND condition.
NOTE: This method appends the values to the existing list (if any). Use
setConditions(java.util.Collection) or withConditions(java.util.Collection) if you want to
override the existing values.
conditions - A list of Condition objects which would be applied together with an AND condition.public ListCondition withConditions(Collection<Condition> conditions)
A list of Condition objects which would be applied together with an AND condition.
conditions - A list of Condition objects which would be applied together with an AND condition.public String toString()
toString in class ObjectObject.toString()public ListCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.