Interface StorageLensGroupFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StorageLensGroupFilter.Builder,StorageLensGroupFilter>,SdkBuilder<StorageLensGroupFilter.Builder,StorageLensGroupFilter>,SdkPojo
- Enclosing class:
- StorageLensGroupFilter
public static interface StorageLensGroupFilter.Builder extends SdkPojo, CopyableBuilder<StorageLensGroupFilter.Builder,StorageLensGroupFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StorageLensGroupFilter.Builderand(Consumer<StorageLensGroupAndOperator.Builder> and)A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.StorageLensGroupFilter.Builderand(StorageLensGroupAndOperator and)A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.StorageLensGroupFilter.BuildermatchAnyPrefix(String... matchAnyPrefix)Contains a list of prefixes.StorageLensGroupFilter.BuildermatchAnyPrefix(Collection<String> matchAnyPrefix)Contains a list of prefixes.StorageLensGroupFilter.BuildermatchAnySuffix(String... matchAnySuffix)Contains a list of suffixes.StorageLensGroupFilter.BuildermatchAnySuffix(Collection<String> matchAnySuffix)Contains a list of suffixes.StorageLensGroupFilter.BuildermatchAnyTag(Collection<S3Tag> matchAnyTag)Contains the list of S3 object tags.StorageLensGroupFilter.BuildermatchAnyTag(Consumer<S3Tag.Builder>... matchAnyTag)Contains the list of S3 object tags.StorageLensGroupFilter.BuildermatchAnyTag(S3Tag... matchAnyTag)Contains the list of S3 object tags.default StorageLensGroupFilter.BuildermatchObjectAge(Consumer<MatchObjectAge.Builder> matchObjectAge)ContainsDaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).StorageLensGroupFilter.BuildermatchObjectAge(MatchObjectAge matchObjectAge)ContainsDaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).default StorageLensGroupFilter.BuildermatchObjectSize(Consumer<MatchObjectSize.Builder> matchObjectSize)ContainsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).StorageLensGroupFilter.BuildermatchObjectSize(MatchObjectSize matchObjectSize)ContainsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).default StorageLensGroupFilter.Builderor(Consumer<StorageLensGroupOrOperator.Builder> or)A single logical operator that allows multiple filter conditions to be joined.StorageLensGroupFilter.Builderor(StorageLensGroupOrOperator or)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 Detail
-
matchAnyPrefix
StorageLensGroupFilter.Builder matchAnyPrefix(Collection<String> 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
StorageLensGroupFilter.Builder matchAnyPrefix(String... 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
StorageLensGroupFilter.Builder matchAnySuffix(Collection<String> 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
StorageLensGroupFilter.Builder matchAnySuffix(String... 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
StorageLensGroupFilter.Builder matchAnyTag(Collection<S3Tag> 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
StorageLensGroupFilter.Builder matchAnyTag(S3Tag... 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
StorageLensGroupFilter.Builder matchAnyTag(Consumer<S3Tag.Builder>... 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.Builderavoiding the need to create one manually viaS3Tag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#matchAnyTag(List.) - 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:
#matchAnyTag(java.util.Collection)
-
matchObjectAge
StorageLensGroupFilter.Builder matchObjectAge(MatchObjectAge matchObjectAge)
Contains
DaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).- Parameters:
matchObjectAge- ContainsDaysGreaterThanandDaysLessThanto 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 theDaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).MatchObjectAge.Builderavoiding the need to create one manually viaMatchObjectAge.builder().When the
Consumercompletes,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:
matchObjectAge(MatchObjectAge)
-
matchObjectSize
StorageLensGroupFilter.Builder matchObjectSize(MatchObjectSize matchObjectSize)
Contains
BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).- Parameters:
matchObjectSize- ContainsBytesGreaterThanandBytesLessThanto 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 theBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).MatchObjectSize.Builderavoiding the need to create one manually viaMatchObjectSize.builder().When the
Consumercompletes,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:
matchObjectSize(MatchObjectSize)
-
and
StorageLensGroupFilter.Builder and(StorageLensGroupAndOperator 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
Andlogical 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 theAndlogical 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
default StorageLensGroupFilter.Builder and(Consumer<StorageLensGroupAndOperator.Builder> 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 theAndlogical operator. Only one of each filter condition is allowed.StorageLensGroupAndOperator.Builderavoiding the need to create one manually viaStorageLensGroupAndOperator.builder().When the
Consumercompletes,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:
and(StorageLensGroupAndOperator)
-
or
StorageLensGroupFilter.Builder or(StorageLensGroupOrOperator 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
Orlogical 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 theOrlogical 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
default StorageLensGroupFilter.Builder or(Consumer<StorageLensGroupOrOperator.Builder> 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 theOrlogical operator. Only one of each filter condition is allowed.StorageLensGroupOrOperator.Builderavoiding the need to create one manually viaStorageLensGroupOrOperator.builder().When the
Consumercompletes,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:
or(StorageLensGroupOrOperator)
-
-