Interface Filters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Filters.Builder,Filters>,SdkBuilder<Filters.Builder,Filters>,SdkPojo
- Enclosing class:
- Filters
public static interface Filters.Builder extends SdkPojo, CopyableBuilder<Filters.Builder,Filters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Filters.BuilderancestorIds(String... ancestorIds)Filter based on resource’s path.Filters.BuilderancestorIds(Collection<String> ancestorIds)Filter based on resource’s path.Filters.BuildercontentCategories(Collection<ContentCategoryType> contentCategories)Filters by content category.Filters.BuildercontentCategories(ContentCategoryType... contentCategories)Filters by content category.Filters.BuildercontentCategoriesWithStrings(String... contentCategories)Filters by content category.Filters.BuildercontentCategoriesWithStrings(Collection<String> contentCategories)Filters by content category.default Filters.BuildercreatedRange(Consumer<DateRangeType.Builder> createdRange)Filter based on resource’s creation timestamp.Filters.BuildercreatedRange(DateRangeType createdRange)Filter based on resource’s creation timestamp.Filters.Builderlabels(String... labels)Filter by labels using exact match.Filters.Builderlabels(Collection<String> labels)Filter by labels using exact match.default Filters.BuildermodifiedRange(Consumer<DateRangeType.Builder> modifiedRange)Filter based on resource’s modified timestamp.Filters.BuildermodifiedRange(DateRangeType modifiedRange)Filter based on resource’s modified timestamp.Filters.Builderprincipals(Collection<SearchPrincipalType> principals)Filter based on UserIds or GroupIds.Filters.Builderprincipals(Consumer<SearchPrincipalType.Builder>... principals)Filter based on UserIds or GroupIds.Filters.Builderprincipals(SearchPrincipalType... principals)Filter based on UserIds or GroupIds.Filters.BuilderresourceTypes(Collection<SearchResourceType> resourceTypes)Filters based on entity type.Filters.BuilderresourceTypes(SearchResourceType... resourceTypes)Filters based on entity type.Filters.BuilderresourceTypesWithStrings(String... resourceTypes)Filters based on entity type.Filters.BuilderresourceTypesWithStrings(Collection<String> resourceTypes)Filters based on entity type.Filters.BuildersearchCollectionTypes(Collection<SearchCollectionType> searchCollectionTypes)Filter based on file groupings.Filters.BuildersearchCollectionTypes(SearchCollectionType... searchCollectionTypes)Filter based on file groupings.Filters.BuildersearchCollectionTypesWithStrings(String... searchCollectionTypes)Filter based on file groupings.Filters.BuildersearchCollectionTypesWithStrings(Collection<String> searchCollectionTypes)Filter based on file groupings.default Filters.BuildersizeRange(Consumer<LongRangeType.Builder> sizeRange)Filter based on size (in bytes).Filters.BuildersizeRange(LongRangeType sizeRange)Filter based on size (in bytes).Filters.BuildertextLocales(Collection<LanguageCodeType> textLocales)Filters by the locale of the content or comment.Filters.BuildertextLocales(LanguageCodeType... textLocales)Filters by the locale of the content or comment.Filters.BuildertextLocalesWithStrings(String... textLocales)Filters by the locale of the content or comment.Filters.BuildertextLocalesWithStrings(Collection<String> textLocales)Filters by the locale of the content or comment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
textLocalesWithStrings
Filters.Builder textLocalesWithStrings(Collection<String> textLocales)
Filters by the locale of the content or comment.
- Parameters:
textLocales- Filters by the locale of the content or comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textLocalesWithStrings
Filters.Builder textLocalesWithStrings(String... textLocales)
Filters by the locale of the content or comment.
- Parameters:
textLocales- Filters by the locale of the content or comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textLocales
Filters.Builder textLocales(Collection<LanguageCodeType> textLocales)
Filters by the locale of the content or comment.
- Parameters:
textLocales- Filters by the locale of the content or comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textLocales
Filters.Builder textLocales(LanguageCodeType... textLocales)
Filters by the locale of the content or comment.
- Parameters:
textLocales- Filters by the locale of the content or comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentCategoriesWithStrings
Filters.Builder contentCategoriesWithStrings(Collection<String> contentCategories)
Filters by content category.
- Parameters:
contentCategories- Filters by content category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentCategoriesWithStrings
Filters.Builder contentCategoriesWithStrings(String... contentCategories)
Filters by content category.
- Parameters:
contentCategories- Filters by content category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentCategories
Filters.Builder contentCategories(Collection<ContentCategoryType> contentCategories)
Filters by content category.
- Parameters:
contentCategories- Filters by content category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentCategories
Filters.Builder contentCategories(ContentCategoryType... contentCategories)
Filters by content category.
- Parameters:
contentCategories- Filters by content category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
Filters.Builder resourceTypesWithStrings(Collection<String> resourceTypes)
Filters based on entity type.
- Parameters:
resourceTypes- Filters based on entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
Filters.Builder resourceTypesWithStrings(String... resourceTypes)
Filters based on entity type.
- Parameters:
resourceTypes- Filters based on entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
Filters.Builder resourceTypes(Collection<SearchResourceType> resourceTypes)
Filters based on entity type.
- Parameters:
resourceTypes- Filters based on entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
Filters.Builder resourceTypes(SearchResourceType... resourceTypes)
Filters based on entity type.
- Parameters:
resourceTypes- Filters based on entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
Filters.Builder labels(Collection<String> labels)
Filter by labels using exact match.
- Parameters:
labels- Filter by labels using exact match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
Filters.Builder labels(String... labels)
Filter by labels using exact match.
- Parameters:
labels- Filter by labels using exact match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
Filters.Builder principals(Collection<SearchPrincipalType> principals)
Filter based on UserIds or GroupIds.
- Parameters:
principals- Filter based on UserIds or GroupIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
Filters.Builder principals(SearchPrincipalType... principals)
Filter based on UserIds or GroupIds.
- Parameters:
principals- Filter based on UserIds or GroupIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
Filters.Builder principals(Consumer<SearchPrincipalType.Builder>... principals)
Filter based on UserIds or GroupIds.
This is a convenience method that creates an instance of theSearchPrincipalType.Builderavoiding the need to create one manually viaSearchPrincipalType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#principals(List.) - Parameters:
principals- a consumer that will call methods onSearchPrincipalType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#principals(java.util.Collection)
-
ancestorIds
Filters.Builder ancestorIds(Collection<String> ancestorIds)
Filter based on resource’s path.
- Parameters:
ancestorIds- Filter based on resource’s path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ancestorIds
Filters.Builder ancestorIds(String... ancestorIds)
Filter based on resource’s path.
- Parameters:
ancestorIds- Filter based on resource’s path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCollectionTypesWithStrings
Filters.Builder searchCollectionTypesWithStrings(Collection<String> searchCollectionTypes)
Filter based on file groupings.
- Parameters:
searchCollectionTypes- Filter based on file groupings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCollectionTypesWithStrings
Filters.Builder searchCollectionTypesWithStrings(String... searchCollectionTypes)
Filter based on file groupings.
- Parameters:
searchCollectionTypes- Filter based on file groupings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCollectionTypes
Filters.Builder searchCollectionTypes(Collection<SearchCollectionType> searchCollectionTypes)
Filter based on file groupings.
- Parameters:
searchCollectionTypes- Filter based on file groupings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCollectionTypes
Filters.Builder searchCollectionTypes(SearchCollectionType... searchCollectionTypes)
Filter based on file groupings.
- Parameters:
searchCollectionTypes- Filter based on file groupings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeRange
Filters.Builder sizeRange(LongRangeType sizeRange)
Filter based on size (in bytes).
- Parameters:
sizeRange- Filter based on size (in bytes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeRange
default Filters.Builder sizeRange(Consumer<LongRangeType.Builder> sizeRange)
Filter based on size (in bytes).
This is a convenience method that creates an instance of theLongRangeType.Builderavoiding the need to create one manually viaLongRangeType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosizeRange(LongRangeType).- Parameters:
sizeRange- a consumer that will call methods onLongRangeType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sizeRange(LongRangeType)
-
createdRange
Filters.Builder createdRange(DateRangeType createdRange)
Filter based on resource’s creation timestamp.
- Parameters:
createdRange- Filter based on resource’s creation timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdRange
default Filters.Builder createdRange(Consumer<DateRangeType.Builder> createdRange)
Filter based on resource’s creation timestamp.
This is a convenience method that creates an instance of theDateRangeType.Builderavoiding the need to create one manually viaDateRangeType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedRange(DateRangeType).- Parameters:
createdRange- a consumer that will call methods onDateRangeType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createdRange(DateRangeType)
-
modifiedRange
Filters.Builder modifiedRange(DateRangeType modifiedRange)
Filter based on resource’s modified timestamp.
- Parameters:
modifiedRange- Filter based on resource’s modified timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedRange
default Filters.Builder modifiedRange(Consumer<DateRangeType.Builder> modifiedRange)
Filter based on resource’s modified timestamp.
This is a convenience method that creates an instance of theDateRangeType.Builderavoiding the need to create one manually viaDateRangeType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodifiedRange(DateRangeType).- Parameters:
modifiedRange- a consumer that will call methods onDateRangeType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modifiedRange(DateRangeType)
-
-