@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrievalFilter extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the filters to use on the metadata attributes in the knowledge base data sources before returning results. For more information, see Query configurations.
This data type is used in the following API operations:
Retrieve request – in the filter field
RetrieveAndGenerate request – in the filter field
| Constructor and Description |
|---|
RetrievalFilter() |
| Modifier and Type | Method and Description |
|---|---|
RetrievalFilter |
clone() |
boolean |
equals(Object obj) |
List<RetrievalFilter> |
getAndAll()
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are
returned.
|
List<RetrievalFilter> |
getOrAll()
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this
list are returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAndAll(Collection<RetrievalFilter> andAll)
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are
returned.
|
void |
setOrAll(Collection<RetrievalFilter> orAll)
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this
list are returned.
|
String |
toString()
Returns a string representation of this object.
|
RetrievalFilter |
withAndAll(Collection<RetrievalFilter> andAll)
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are
returned.
|
RetrievalFilter |
withAndAll(RetrievalFilter... andAll)
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are
returned.
|
RetrievalFilter |
withOrAll(Collection<RetrievalFilter> orAll)
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this
list are returned.
|
RetrievalFilter |
withOrAll(RetrievalFilter... orAll)
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this
list are returned.
|
public List<RetrievalFilter> getAndAll()
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are returned.
public void setAndAll(Collection<RetrievalFilter> andAll)
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are returned.
andAll - Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list
are returned.public RetrievalFilter withAndAll(RetrievalFilter... andAll)
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are returned.
NOTE: This method appends the values to the existing list (if any). Use
setAndAll(java.util.Collection) or withAndAll(java.util.Collection) if you want to override the
existing values.
andAll - Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list
are returned.public RetrievalFilter withAndAll(Collection<RetrievalFilter> andAll)
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are returned.
andAll - Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list
are returned.public List<RetrievalFilter> getOrAll()
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this list are returned.
public void setOrAll(Collection<RetrievalFilter> orAll)
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this list are returned.
orAll - Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside
this list are returned.public RetrievalFilter withOrAll(RetrievalFilter... orAll)
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this list are returned.
NOTE: This method appends the values to the existing list (if any). Use
setOrAll(java.util.Collection) or withOrAll(java.util.Collection) if you want to override the
existing values.
orAll - Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside
this list are returned.public RetrievalFilter withOrAll(Collection<RetrievalFilter> orAll)
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this list are returned.
orAll - Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside
this list are returned.public String toString()
toString in class ObjectObject.toString()public RetrievalFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.