@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filters extends Object implements Serializable, Cloneable, StructuredPojo
Filters results based on entity metadata.
| Constructor and Description |
|---|
Filters() |
| Modifier and Type | Method and Description |
|---|---|
Filters |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAncestorIds()
Filter based on resource’s path.
|
List<String> |
getContentCategories()
Filters by content category.
|
DateRangeType |
getCreatedRange()
Filter based on resource’s creation timestamp.
|
List<String> |
getLabels()
Filter by labels using exact match.
|
DateRangeType |
getModifiedRange()
Filter based on resource’s modified timestamp.
|
List<SearchPrincipalType> |
getPrincipals()
Filter based on UserIds or GroupIds.
|
List<String> |
getResourceTypes()
Filters based on entity type.
|
List<String> |
getSearchCollectionTypes()
Filter based on file groupings.
|
LongRangeType |
getSizeRange()
Filter based on size (in bytes).
|
List<String> |
getTextLocales()
Filters by the locale of the content or comment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAncestorIds(Collection<String> ancestorIds)
Filter based on resource’s path.
|
void |
setContentCategories(Collection<String> contentCategories)
Filters by content category.
|
void |
setCreatedRange(DateRangeType createdRange)
Filter based on resource’s creation timestamp.
|
void |
setLabels(Collection<String> labels)
Filter by labels using exact match.
|
void |
setModifiedRange(DateRangeType modifiedRange)
Filter based on resource’s modified timestamp.
|
void |
setPrincipals(Collection<SearchPrincipalType> principals)
Filter based on UserIds or GroupIds.
|
void |
setResourceTypes(Collection<String> resourceTypes)
Filters based on entity type.
|
void |
setSearchCollectionTypes(Collection<String> searchCollectionTypes)
Filter based on file groupings.
|
void |
setSizeRange(LongRangeType sizeRange)
Filter based on size (in bytes).
|
void |
setTextLocales(Collection<String> textLocales)
Filters by the locale of the content or comment.
|
String |
toString()
Returns a string representation of this object.
|
Filters |
withAncestorIds(Collection<String> ancestorIds)
Filter based on resource’s path.
|
Filters |
withAncestorIds(String... ancestorIds)
Filter based on resource’s path.
|
Filters |
withContentCategories(Collection<String> contentCategories)
Filters by content category.
|
Filters |
withContentCategories(ContentCategoryType... contentCategories)
Filters by content category.
|
Filters |
withContentCategories(String... contentCategories)
Filters by content category.
|
Filters |
withCreatedRange(DateRangeType createdRange)
Filter based on resource’s creation timestamp.
|
Filters |
withLabels(Collection<String> labels)
Filter by labels using exact match.
|
Filters |
withLabels(String... labels)
Filter by labels using exact match.
|
Filters |
withModifiedRange(DateRangeType modifiedRange)
Filter based on resource’s modified timestamp.
|
Filters |
withPrincipals(Collection<SearchPrincipalType> principals)
Filter based on UserIds or GroupIds.
|
Filters |
withPrincipals(SearchPrincipalType... principals)
Filter based on UserIds or GroupIds.
|
Filters |
withResourceTypes(Collection<String> resourceTypes)
Filters based on entity type.
|
Filters |
withResourceTypes(SearchResourceType... resourceTypes)
Filters based on entity type.
|
Filters |
withResourceTypes(String... resourceTypes)
Filters based on entity type.
|
Filters |
withSearchCollectionTypes(Collection<String> searchCollectionTypes)
Filter based on file groupings.
|
Filters |
withSearchCollectionTypes(SearchCollectionType... searchCollectionTypes)
Filter based on file groupings.
|
Filters |
withSearchCollectionTypes(String... searchCollectionTypes)
Filter based on file groupings.
|
Filters |
withSizeRange(LongRangeType sizeRange)
Filter based on size (in bytes).
|
Filters |
withTextLocales(Collection<String> textLocales)
Filters by the locale of the content or comment.
|
Filters |
withTextLocales(LanguageCodeType... textLocales)
Filters by the locale of the content or comment.
|
Filters |
withTextLocales(String... textLocales)
Filters by the locale of the content or comment.
|
public List<String> getTextLocales()
Filters by the locale of the content or comment.
LanguageCodeTypepublic void setTextLocales(Collection<String> textLocales)
Filters by the locale of the content or comment.
textLocales - Filters by the locale of the content or comment.LanguageCodeTypepublic Filters withTextLocales(String... textLocales)
Filters by the locale of the content or comment.
NOTE: This method appends the values to the existing list (if any). Use
setTextLocales(java.util.Collection) or withTextLocales(java.util.Collection) if you want to
override the existing values.
textLocales - Filters by the locale of the content or comment.LanguageCodeTypepublic Filters withTextLocales(Collection<String> textLocales)
Filters by the locale of the content or comment.
textLocales - Filters by the locale of the content or comment.LanguageCodeTypepublic Filters withTextLocales(LanguageCodeType... textLocales)
Filters by the locale of the content or comment.
textLocales - Filters by the locale of the content or comment.LanguageCodeTypepublic List<String> getContentCategories()
Filters by content category.
ContentCategoryTypepublic void setContentCategories(Collection<String> contentCategories)
Filters by content category.
contentCategories - Filters by content category.ContentCategoryTypepublic Filters withContentCategories(String... contentCategories)
Filters by content category.
NOTE: This method appends the values to the existing list (if any). Use
setContentCategories(java.util.Collection) or withContentCategories(java.util.Collection) if
you want to override the existing values.
contentCategories - Filters by content category.ContentCategoryTypepublic Filters withContentCategories(Collection<String> contentCategories)
Filters by content category.
contentCategories - Filters by content category.ContentCategoryTypepublic Filters withContentCategories(ContentCategoryType... contentCategories)
Filters by content category.
contentCategories - Filters by content category.ContentCategoryTypepublic List<String> getResourceTypes()
Filters based on entity type.
SearchResourceTypepublic void setResourceTypes(Collection<String> resourceTypes)
Filters based on entity type.
resourceTypes - Filters based on entity type.SearchResourceTypepublic Filters withResourceTypes(String... resourceTypes)
Filters based on entity type.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection) or withResourceTypes(java.util.Collection) if you want
to override the existing values.
resourceTypes - Filters based on entity type.SearchResourceTypepublic Filters withResourceTypes(Collection<String> resourceTypes)
Filters based on entity type.
resourceTypes - Filters based on entity type.SearchResourceTypepublic Filters withResourceTypes(SearchResourceType... resourceTypes)
Filters based on entity type.
resourceTypes - Filters based on entity type.SearchResourceTypepublic List<String> getLabels()
Filter by labels using exact match.
public void setLabels(Collection<String> labels)
Filter by labels using exact match.
labels - Filter by labels using exact match.public Filters withLabels(String... labels)
Filter by labels using exact match.
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection) or withLabels(java.util.Collection) if you want to override the
existing values.
labels - Filter by labels using exact match.public Filters withLabels(Collection<String> labels)
Filter by labels using exact match.
labels - Filter by labels using exact match.public List<SearchPrincipalType> getPrincipals()
Filter based on UserIds or GroupIds.
public void setPrincipals(Collection<SearchPrincipalType> principals)
Filter based on UserIds or GroupIds.
principals - Filter based on UserIds or GroupIds.public Filters withPrincipals(SearchPrincipalType... principals)
Filter based on UserIds or GroupIds.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection) or withPrincipals(java.util.Collection) if you want to
override the existing values.
principals - Filter based on UserIds or GroupIds.public Filters withPrincipals(Collection<SearchPrincipalType> principals)
Filter based on UserIds or GroupIds.
principals - Filter based on UserIds or GroupIds.public List<String> getAncestorIds()
Filter based on resource’s path.
public void setAncestorIds(Collection<String> ancestorIds)
Filter based on resource’s path.
ancestorIds - Filter based on resource’s path.public Filters withAncestorIds(String... ancestorIds)
Filter based on resource’s path.
NOTE: This method appends the values to the existing list (if any). Use
setAncestorIds(java.util.Collection) or withAncestorIds(java.util.Collection) if you want to
override the existing values.
ancestorIds - Filter based on resource’s path.public Filters withAncestorIds(Collection<String> ancestorIds)
Filter based on resource’s path.
ancestorIds - Filter based on resource’s path.public List<String> getSearchCollectionTypes()
Filter based on file groupings.
SearchCollectionTypepublic void setSearchCollectionTypes(Collection<String> searchCollectionTypes)
Filter based on file groupings.
searchCollectionTypes - Filter based on file groupings.SearchCollectionTypepublic Filters withSearchCollectionTypes(String... searchCollectionTypes)
Filter based on file groupings.
NOTE: This method appends the values to the existing list (if any). Use
setSearchCollectionTypes(java.util.Collection) or
withSearchCollectionTypes(java.util.Collection) if you want to override the existing values.
searchCollectionTypes - Filter based on file groupings.SearchCollectionTypepublic Filters withSearchCollectionTypes(Collection<String> searchCollectionTypes)
Filter based on file groupings.
searchCollectionTypes - Filter based on file groupings.SearchCollectionTypepublic Filters withSearchCollectionTypes(SearchCollectionType... searchCollectionTypes)
Filter based on file groupings.
searchCollectionTypes - Filter based on file groupings.SearchCollectionTypepublic void setSizeRange(LongRangeType sizeRange)
Filter based on size (in bytes).
sizeRange - Filter based on size (in bytes).public LongRangeType getSizeRange()
Filter based on size (in bytes).
public Filters withSizeRange(LongRangeType sizeRange)
Filter based on size (in bytes).
sizeRange - Filter based on size (in bytes).public void setCreatedRange(DateRangeType createdRange)
Filter based on resource’s creation timestamp.
createdRange - Filter based on resource’s creation timestamp.public DateRangeType getCreatedRange()
Filter based on resource’s creation timestamp.
public Filters withCreatedRange(DateRangeType createdRange)
Filter based on resource’s creation timestamp.
createdRange - Filter based on resource’s creation timestamp.public void setModifiedRange(DateRangeType modifiedRange)
Filter based on resource’s modified timestamp.
modifiedRange - Filter based on resource’s modified timestamp.public DateRangeType getModifiedRange()
Filter based on resource’s modified timestamp.
public Filters withModifiedRange(DateRangeType modifiedRange)
Filter based on resource’s modified timestamp.
modifiedRange - Filter based on resource’s modified timestamp.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.