Interface StorageLensGroupFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StorageLensGroupFilter.Builder,StorageLensGroupFilter>, SdkBuilder<StorageLensGroupFilter.Builder,StorageLensGroupFilter>, SdkPojo
Enclosing class:
StorageLensGroupFilter

public static interface StorageLensGroupFilter.Builder extends SdkPojo, CopyableBuilder<StorageLensGroupFilter.Builder,StorageLensGroupFilter>
  • Method Details

    • matchAnyPrefix

      StorageLensGroupFilter.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

      StorageLensGroupFilter.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

      StorageLensGroupFilter.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

      StorageLensGroupFilter.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

      StorageLensGroupFilter.Builder matchAnyTag(Collection<S3Tag> matchAnyTag)

      Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.

      Parameters:
      matchAnyTag - Contains the list of S3 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

      StorageLensGroupFilter.Builder matchAnyTag(S3Tag... matchAnyTag)

      Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.

      Parameters:
      matchAnyTag - Contains the list of S3 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 S3 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

      StorageLensGroupFilter.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 StorageLensGroupFilter.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

      StorageLensGroupFilter.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 StorageLensGroupFilter.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:
    • and

      A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.

      Parameters:
      and - A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • and

      A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.

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

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

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

      A single logical operator that allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.

      Parameters:
      or - A single logical operator that allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • or

      A single logical operator that allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.

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

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

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