@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PredefinedAttributeSearchCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The search criteria to be used to return predefined attributes.
Constructor and Description |
---|
PredefinedAttributeSearchCriteria() |
Modifier and Type | Method and Description |
---|---|
PredefinedAttributeSearchCriteria |
clone() |
boolean |
equals(Object obj) |
List<PredefinedAttributeSearchCriteria> |
getAndConditions()
A list of conditions which would be applied together with an
AND condition. |
List<PredefinedAttributeSearchCriteria> |
getOrConditions()
A list of conditions which would be applied together with an
OR condition. |
StringCondition |
getStringCondition() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAndConditions(Collection<PredefinedAttributeSearchCriteria> andConditions)
A list of conditions which would be applied together with an
AND condition. |
void |
setOrConditions(Collection<PredefinedAttributeSearchCriteria> orConditions)
A list of conditions which would be applied together with an
OR condition. |
void |
setStringCondition(StringCondition stringCondition) |
String |
toString()
Returns a string representation of this object.
|
PredefinedAttributeSearchCriteria |
withAndConditions(Collection<PredefinedAttributeSearchCriteria> andConditions)
A list of conditions which would be applied together with an
AND condition. |
PredefinedAttributeSearchCriteria |
withAndConditions(PredefinedAttributeSearchCriteria... andConditions)
A list of conditions which would be applied together with an
AND condition. |
PredefinedAttributeSearchCriteria |
withOrConditions(Collection<PredefinedAttributeSearchCriteria> orConditions)
A list of conditions which would be applied together with an
OR condition. |
PredefinedAttributeSearchCriteria |
withOrConditions(PredefinedAttributeSearchCriteria... orConditions)
A list of conditions which would be applied together with an
OR condition. |
PredefinedAttributeSearchCriteria |
withStringCondition(StringCondition stringCondition) |
public List<PredefinedAttributeSearchCriteria> getOrConditions()
A list of conditions which would be applied together with an OR
condition.
OR
condition.public void setOrConditions(Collection<PredefinedAttributeSearchCriteria> 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 PredefinedAttributeSearchCriteria withOrConditions(PredefinedAttributeSearchCriteria... 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 PredefinedAttributeSearchCriteria withOrConditions(Collection<PredefinedAttributeSearchCriteria> 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<PredefinedAttributeSearchCriteria> getAndConditions()
A list of conditions which would be applied together with an AND
condition.
AND
condition.public void setAndConditions(Collection<PredefinedAttributeSearchCriteria> 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 PredefinedAttributeSearchCriteria withAndConditions(PredefinedAttributeSearchCriteria... 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 PredefinedAttributeSearchCriteria withAndConditions(Collection<PredefinedAttributeSearchCriteria> 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)
stringCondition
- public StringCondition getStringCondition()
public PredefinedAttributeSearchCriteria withStringCondition(StringCondition stringCondition)
stringCondition
- public String toString()
toString
in class Object
Object.toString()
public PredefinedAttributeSearchCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.