Interface StorageLensGroupFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StorageLensGroupFilter.Builder,
,StorageLensGroupFilter> SdkBuilder<StorageLensGroupFilter.Builder,
,StorageLensGroupFilter> SdkPojo
- Enclosing class:
StorageLensGroupFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault StorageLensGroupFilter.Builder
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.matchAnyPrefix
(String... matchAnyPrefix) Contains a list of prefixes.matchAnyPrefix
(Collection<String> matchAnyPrefix) Contains a list of prefixes.matchAnySuffix
(String... matchAnySuffix) Contains a list of suffixes.matchAnySuffix
(Collection<String> matchAnySuffix) Contains a list of suffixes.matchAnyTag
(Collection<S3Tag> matchAnyTag) Contains the list of S3 object tags.matchAnyTag
(Consumer<S3Tag.Builder>... matchAnyTag) Contains the list of S3 object tags.matchAnyTag
(S3Tag... matchAnyTag) Contains the list of S3 object tags.default StorageLensGroupFilter.Builder
matchObjectAge
(Consumer<MatchObjectAge.Builder> matchObjectAge) ContainsDaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days).matchObjectAge
(MatchObjectAge matchObjectAge) ContainsDaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days).default StorageLensGroupFilter.Builder
matchObjectSize
(Consumer<MatchObjectSize.Builder> matchObjectSize) ContainsBytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).matchObjectSize
(MatchObjectSize matchObjectSize) ContainsBytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).default StorageLensGroupFilter.Builder
A single logical operator that allows multiple filter conditions to be joined.A single logical operator that allows multiple filter conditions to be joined.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 Details
-
matchAnyPrefix
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- Parameters:
matchAnyPrefix
- Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchAnyPrefix
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- Parameters:
matchAnyPrefix
- Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchAnySuffix
Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- Parameters:
matchAnySuffix
- Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchAnySuffix
Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- Parameters:
matchAnySuffix
- Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchAnyTag
Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- Parameters:
matchAnyTag
- Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchAnyTag
Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- Parameters:
matchAnyTag
- Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchAnyTag
Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
This is a convenience method that creates an instance of theS3Tag.Builder
avoiding the need to create one manually viaS3Tag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchAnyTag(List<S3Tag>)
.- Parameters:
matchAnyTag
- a consumer that will call methods onS3Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchObjectAge
Contains
DaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days).- Parameters:
matchObjectAge
- ContainsDaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchObjectAge
default StorageLensGroupFilter.Builder matchObjectAge(Consumer<MatchObjectAge.Builder> matchObjectAge) Contains
This is a convenience method that creates an instance of theDaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days).MatchObjectAge.Builder
avoiding the need to create one manually viaMatchObjectAge.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchObjectAge(MatchObjectAge)
.- Parameters:
matchObjectAge
- a consumer that will call methods onMatchObjectAge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchObjectSize
Contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).- Parameters:
matchObjectSize
- ContainsBytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchObjectSize
default StorageLensGroupFilter.Builder matchObjectSize(Consumer<MatchObjectSize.Builder> matchObjectSize) Contains
This is a convenience method that creates an instance of theBytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).MatchObjectSize.Builder
avoiding the need to create one manually viaMatchObjectSize.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchObjectSize(MatchObjectSize)
.- Parameters:
matchObjectSize
- a consumer that will call methods onMatchObjectSize.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
and
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the
And
logical operator. Only one of each filter condition is allowed.- Parameters:
and
- A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by theAnd
logical operator. Only one of each filter condition is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the
This is a convenience method that creates an instance of theAnd
logical operator. Only one of each filter condition is allowed.StorageLensGroupAndOperator.Builder
avoiding the need to create one manually viaStorageLensGroupAndOperator.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toand(StorageLensGroupAndOperator)
.- Parameters:
and
- a consumer that will call methods onStorageLensGroupAndOperator.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
or
A single logical operator that allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the
Or
logical operator. Only one of each filter condition is allowed.- Parameters:
or
- A single logical operator that allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by theOr
logical operator. Only one of each filter condition is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
A single logical operator that allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the
This is a convenience method that creates an instance of theOr
logical operator. Only one of each filter condition is allowed.StorageLensGroupOrOperator.Builder
avoiding the need to create one manually viaStorageLensGroupOrOperator.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toor(StorageLensGroupOrOperator)
.- Parameters:
or
- a consumer that will call methods onStorageLensGroupOrOperator.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-