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 Details

    • 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

      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

      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<S3Tag>).

      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:
    • 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.
    • matchObjectAge

      default StorageLensGroupAndOperator.Builder matchObjectAge(Consumer<MatchObjectAge.Builder> matchObjectAge)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to matchObjectAge(MatchObjectAge).

      Parameters:
      matchObjectAge - a consumer that will call methods on MatchObjectAge.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • matchObjectSize

      default StorageLensGroupAndOperator.Builder matchObjectSize(Consumer<MatchObjectSize.Builder> matchObjectSize)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to matchObjectSize(MatchObjectSize).

      Parameters:
      matchObjectSize - a consumer that will call methods on MatchObjectSize.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: