@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptSearchCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The search criteria to be used to return prompts.
| Constructor and Description |
|---|
PromptSearchCriteria() |
| Modifier and Type | Method and Description |
|---|---|
PromptSearchCriteria |
clone() |
boolean |
equals(Object obj) |
List<PromptSearchCriteria> |
getAndConditions()
A list of conditions which would be applied together with an AND condition.
|
List<PromptSearchCriteria> |
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<PromptSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND condition.
|
void |
setOrConditions(Collection<PromptSearchCriteria> 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.
|
PromptSearchCriteria |
withAndConditions(Collection<PromptSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND condition.
|
PromptSearchCriteria |
withAndConditions(PromptSearchCriteria... andConditions)
A list of conditions which would be applied together with an AND condition.
|
PromptSearchCriteria |
withOrConditions(Collection<PromptSearchCriteria> orConditions)
A list of conditions which would be applied together with an OR condition.
|
PromptSearchCriteria |
withOrConditions(PromptSearchCriteria... orConditions)
A list of conditions which would be applied together with an OR condition.
|
PromptSearchCriteria |
withStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
|
public List<PromptSearchCriteria> getOrConditions()
A list of conditions which would be applied together with an OR condition.
public void setOrConditions(Collection<PromptSearchCriteria> 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 PromptSearchCriteria withOrConditions(PromptSearchCriteria... 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 PromptSearchCriteria withOrConditions(Collection<PromptSearchCriteria> 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<PromptSearchCriteria> getAndConditions()
A list of conditions which would be applied together with an AND condition.
public void setAndConditions(Collection<PromptSearchCriteria> 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 PromptSearchCriteria withAndConditions(PromptSearchCriteria... 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 PromptSearchCriteria withAndConditions(Collection<PromptSearchCriteria> 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 name, description, and
resourceID.
stringCondition - A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are name, description,
and resourceID.
public StringCondition getStringCondition()
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are name, description, and
resourceID.
The currently supported values for FieldName are name, description
, and resourceID.
public PromptSearchCriteria withStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are name, description, and
resourceID.
stringCondition - A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are name, description,
and resourceID.
public String toString()
toString in class ObjectObject.toString()public PromptSearchCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.