Interface StorageLensGroupOrOperator.Builder

    • Method Detail

      • matchAnyPrefix

        StorageLensGroupOrOperator.Builder matchAnyPrefix​(Collection<String> matchAnyPrefix)

        Filters objects that match any of the specified prefixes.

        Parameters:
        matchAnyPrefix - Filters objects that match any of the specified prefixes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchAnyPrefix

        StorageLensGroupOrOperator.Builder matchAnyPrefix​(String... matchAnyPrefix)

        Filters objects that match any of the specified prefixes.

        Parameters:
        matchAnyPrefix - Filters objects that match any of the specified prefixes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchAnySuffix

        StorageLensGroupOrOperator.Builder matchAnySuffix​(Collection<String> matchAnySuffix)

        Filters objects that match any of the specified suffixes.

        Parameters:
        matchAnySuffix - Filters objects that match any of the specified suffixes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchAnySuffix

        StorageLensGroupOrOperator.Builder matchAnySuffix​(String... matchAnySuffix)

        Filters objects that match any of the specified suffixes.

        Parameters:
        matchAnySuffix - Filters objects that match any of the specified suffixes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchAnyTag

        StorageLensGroupOrOperator.Builder matchAnyTag​(Collection<S3Tag> matchAnyTag)

        Filters objects that match any of the specified S3 object tags.

        Parameters:
        matchAnyTag - Filters objects that match any of the specified S3 object tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchAnyTag

        StorageLensGroupOrOperator.Builder matchAnyTag​(S3Tag... matchAnyTag)

        Filters objects that match any of the specified S3 object tags.

        Parameters:
        matchAnyTag - Filters objects that match any of the specified S3 object tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchAnyTag

        StorageLensGroupOrOperator.Builder matchAnyTag​(Consumer<S3Tag.Builder>... matchAnyTag)

        Filters objects that match any of the specified S3 object tags.

        This is a convenience method that creates an instance of the S3Tag.Builder avoiding the need to create one manually via S3Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #matchAnyTag(List).

        Parameters:
        matchAnyTag - a consumer that will call methods on S3Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #matchAnyTag(java.util.Collection)
      • matchObjectAge

        StorageLensGroupOrOperator.Builder matchObjectAge​(MatchObjectAge matchObjectAge)

        Filters objects that match the specified object age range.

        Parameters:
        matchObjectAge - Filters objects that match the specified object age range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchObjectSize

        StorageLensGroupOrOperator.Builder matchObjectSize​(MatchObjectSize matchObjectSize)

        Filters objects that match the specified object size range.

        Parameters:
        matchObjectSize - Filters objects that match the specified object size range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.