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) 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).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).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 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.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 StorageLensGroupAndOperator.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 StorageLensGroupAndOperator.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:
-