Interface StorageLensGroupAndOperator.Builder

    • 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 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

        StorageLensGroupAndOperator.Builder matchObjectAge​(MatchObjectAge matchObjectAge)

        Contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).

        Parameters:
        matchObjectAge - Contains DaysGreaterThan and DaysLessThan 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.
      • matchObjectSize

        StorageLensGroupAndOperator.Builder matchObjectSize​(MatchObjectSize matchObjectSize)

        Contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).

        Parameters:
        matchObjectSize - Contains BytesGreaterThan and BytesLessThan 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.