@Generated(value="software.amazon.awssdk:codegen") public final class Filters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Filters.Builder,Filters>
Filters results based on entity metadata.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Filters.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
ancestorIds()
Filter based on resource’s path.
|
static Filters.Builder |
builder() |
List<ContentCategoryType> |
contentCategories()
Filters by content category.
|
List<String> |
contentCategoriesAsStrings()
Filters by content category.
|
DateRangeType |
createdRange()
Filter based on resource’s creation timestamp.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAncestorIds()
For responses, this returns true if the service returned a value for the AncestorIds property.
|
boolean |
hasContentCategories()
For responses, this returns true if the service returned a value for the ContentCategories property.
|
int |
hashCode() |
boolean |
hasLabels()
For responses, this returns true if the service returned a value for the Labels property.
|
boolean |
hasPrincipals()
For responses, this returns true if the service returned a value for the Principals property.
|
boolean |
hasResourceTypes()
For responses, this returns true if the service returned a value for the ResourceTypes property.
|
boolean |
hasSearchCollectionTypes()
For responses, this returns true if the service returned a value for the SearchCollectionTypes property.
|
boolean |
hasTextLocales()
For responses, this returns true if the service returned a value for the TextLocales property.
|
List<String> |
labels()
Filter by labels using exact match.
|
DateRangeType |
modifiedRange()
Filter based on resource’s modified timestamp.
|
List<SearchPrincipalType> |
principals()
Filter based on UserIds or GroupIds.
|
List<SearchResourceType> |
resourceTypes()
Filters based on entity type.
|
List<String> |
resourceTypesAsStrings()
Filters based on entity type.
|
List<SdkField<?>> |
sdkFields() |
List<SearchCollectionType> |
searchCollectionTypes()
Filter based on file groupings.
|
List<String> |
searchCollectionTypesAsStrings()
Filter based on file groupings.
|
static Class<? extends Filters.Builder> |
serializableBuilderClass() |
LongRangeType |
sizeRange()
Filter based on size (in bytes).
|
List<LanguageCodeType> |
textLocales()
Filters by the locale of the content or comment.
|
List<String> |
textLocalesAsStrings()
Filters by the locale of the content or comment.
|
Filters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final List<LanguageCodeType> textLocales()
Filters by the locale of the content or comment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTextLocales() method.
public final boolean hasTextLocales()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> textLocalesAsStrings()
Filters by the locale of the content or comment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTextLocales() method.
public final List<ContentCategoryType> contentCategories()
Filters by content category.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasContentCategories() method.
public final boolean hasContentCategories()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> contentCategoriesAsStrings()
Filters by content category.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasContentCategories() method.
public final List<SearchResourceType> resourceTypes()
Filters based on entity type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceTypes() method.
public final boolean hasResourceTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> resourceTypesAsStrings()
Filters based on entity type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceTypes() method.
public final boolean hasLabels()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> labels()
Filter by labels using exact match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLabels() method.
public final boolean hasPrincipals()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<SearchPrincipalType> principals()
Filter based on UserIds or GroupIds.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPrincipals() method.
public final boolean hasAncestorIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> ancestorIds()
Filter based on resource’s path.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAncestorIds() method.
public final List<SearchCollectionType> searchCollectionTypes()
Filter based on file groupings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSearchCollectionTypes() method.
public final boolean hasSearchCollectionTypes()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> searchCollectionTypesAsStrings()
Filter based on file groupings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSearchCollectionTypes() method.
public final LongRangeType sizeRange()
Filter based on size (in bytes).
public final DateRangeType createdRange()
Filter based on resource’s creation timestamp.
public final DateRangeType modifiedRange()
Filter based on resource’s modified timestamp.
public Filters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Filters.Builder,Filters>public static Filters.Builder builder()
public static Class<? extends Filters.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.