Interface StorageLensGroupAndOperator.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StorageLensGroupAndOperator.Builder,StorageLensGroupAndOperator>,SdkBuilder<StorageLensGroupAndOperator.Builder,StorageLensGroupAndOperator>,SdkPojo
- Enclosing class:
- StorageLensGroupAndOperator
public static interface StorageLensGroupAndOperator.Builder extends SdkPojo, CopyableBuilder<StorageLensGroupAndOperator.Builder,StorageLensGroupAndOperator>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StorageLensGroupAndOperator.BuildermatchAnyPrefix(String... matchAnyPrefix)Contains a list of prefixes.StorageLensGroupAndOperator.BuildermatchAnyPrefix(Collection<String> matchAnyPrefix)Contains a list of prefixes.StorageLensGroupAndOperator.BuildermatchAnySuffix(String... matchAnySuffix)Contains a list of suffixes.StorageLensGroupAndOperator.BuildermatchAnySuffix(Collection<String> matchAnySuffix)Contains a list of suffixes.StorageLensGroupAndOperator.BuildermatchAnyTag(Collection<S3Tag> matchAnyTag)Contains the list of object tags.StorageLensGroupAndOperator.BuildermatchAnyTag(Consumer<S3Tag.Builder>... matchAnyTag)Contains the list of object tags.StorageLensGroupAndOperator.BuildermatchAnyTag(S3Tag... matchAnyTag)Contains the list of object tags.default StorageLensGroupAndOperator.BuildermatchObjectAge(Consumer<MatchObjectAge.Builder> matchObjectAge)ContainsDaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).StorageLensGroupAndOperator.BuildermatchObjectAge(MatchObjectAge matchObjectAge)ContainsDaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).default StorageLensGroupAndOperator.BuildermatchObjectSize(Consumer<MatchObjectSize.Builder> matchObjectSize)ContainsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).StorageLensGroupAndOperator.BuildermatchObjectSize(MatchObjectSize matchObjectSize)ContainsBytesGreaterThanandBytesLessThanto 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 Detail
-
matchAnyPrefix
StorageLensGroupAndOperator.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
StorageLensGroupAndOperator.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
StorageLensGroupAndOperator.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
StorageLensGroupAndOperator.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
StorageLensGroupAndOperator.Builder matchAnyTag(Collection<S3Tag> 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
StorageLensGroupAndOperator.Builder matchAnyTag(S3Tag... 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
StorageLensGroupAndOperator.Builder matchAnyTag(Consumer<S3Tag.Builder>... 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 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
StorageLensGroupAndOperator.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 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:
matchObjectAge(MatchObjectAge)
-
matchObjectSize
StorageLensGroupAndOperator.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 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:
matchObjectSize(MatchObjectSize)
-
-