Interface StorageLensGroupAndOperator.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StorageLensGroupAndOperator.Builder,,StorageLensGroupAndOperator> SdkBuilder<StorageLensGroupAndOperator.Builder,,StorageLensGroupAndOperator> SdkPojo
- Enclosing class:
StorageLensGroupAndOperator
-
Method Summary
Modifier and TypeMethodDescriptionmatchAnyPrefix(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 object tags.matchAnyTag(Consumer<S3Tag.Builder>... matchAnyTag) Contains the list of object tags.matchAnyTag(S3Tag... matchAnyTag) Contains the list of object tags.matchObjectAge(Consumer<MatchObjectAge.Builder> matchObjectAge) ContainsDaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).matchObjectAge(MatchObjectAge matchObjectAge) ContainsDaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).matchObjectSize(Consumer<MatchObjectSize.Builder> matchObjectSize) ContainsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).matchObjectSize(MatchObjectSize matchObjectSize) ContainsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- Parameters:
matchAnyTag- Contains the list of 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 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- Parameters:
matchAnyTag- Contains the list of 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 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 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
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 StorageLensGroupAndOperator.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:
-
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 StorageLensGroupAndOperator.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:
-