Interface JobManifestGeneratorFilter.Builder

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

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

    • eligibleForReplication

      JobManifestGeneratorFilter.Builder eligibleForReplication(Boolean eligibleForReplication)

      Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.

      Parameters:
      eligibleForReplication - Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAfter

      JobManifestGeneratorFilter.Builder createdAfter(Instant createdAfter)

      If provided, the generated manifest includes only source bucket objects that were created after this time.

      Parameters:
      createdAfter - If provided, the generated manifest includes only source bucket objects that were created after this time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBefore

      JobManifestGeneratorFilter.Builder createdBefore(Instant createdBefore)

      If provided, the generated manifest includes only source bucket objects that were created before this time.

      Parameters:
      createdBefore - If provided, the generated manifest includes only source bucket objects that were created before this time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectReplicationStatusesWithStrings

      JobManifestGeneratorFilter.Builder objectReplicationStatusesWithStrings(Collection<String> objectReplicationStatuses)

      If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.

      Parameters:
      objectReplicationStatuses - If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectReplicationStatusesWithStrings

      JobManifestGeneratorFilter.Builder objectReplicationStatusesWithStrings(String... objectReplicationStatuses)

      If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.

      Parameters:
      objectReplicationStatuses - If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectReplicationStatuses

      JobManifestGeneratorFilter.Builder objectReplicationStatuses(Collection<ReplicationStatus> objectReplicationStatuses)

      If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.

      Parameters:
      objectReplicationStatuses - If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectReplicationStatuses

      JobManifestGeneratorFilter.Builder objectReplicationStatuses(ReplicationStatus... objectReplicationStatuses)

      If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.

      Parameters:
      objectReplicationStatuses - If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyNameConstraint

      JobManifestGeneratorFilter.Builder keyNameConstraint(KeyNameConstraint keyNameConstraint)

      If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified for MatchAnyPrefix, MatchAnySuffix, and MatchAnySubstring.

      Parameters:
      keyNameConstraint - If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified for MatchAnyPrefix, MatchAnySuffix, and MatchAnySubstring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyNameConstraint

      default JobManifestGeneratorFilter.Builder keyNameConstraint(Consumer<KeyNameConstraint.Builder> keyNameConstraint)

      If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified for MatchAnyPrefix, MatchAnySuffix, and MatchAnySubstring.

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

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

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

      JobManifestGeneratorFilter.Builder objectSizeGreaterThanBytes(Long objectSizeGreaterThanBytes)

      If provided, the generated manifest includes only source bucket objects whose file size is greater than the specified number of bytes.

      Parameters:
      objectSizeGreaterThanBytes - If provided, the generated manifest includes only source bucket objects whose file size is greater than the specified number of bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectSizeLessThanBytes

      JobManifestGeneratorFilter.Builder objectSizeLessThanBytes(Long objectSizeLessThanBytes)

      If provided, the generated manifest includes only source bucket objects whose file size is less than the specified number of bytes.

      Parameters:
      objectSizeLessThanBytes - If provided, the generated manifest includes only source bucket objects whose file size is less than the specified number of bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchAnyStorageClassWithStrings

      JobManifestGeneratorFilter.Builder matchAnyStorageClassWithStrings(Collection<String> matchAnyStorageClass)

      If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.

      Parameters:
      matchAnyStorageClass - If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchAnyStorageClassWithStrings

      JobManifestGeneratorFilter.Builder matchAnyStorageClassWithStrings(String... matchAnyStorageClass)

      If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.

      Parameters:
      matchAnyStorageClass - If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchAnyStorageClass

      JobManifestGeneratorFilter.Builder matchAnyStorageClass(Collection<S3StorageClass> matchAnyStorageClass)

      If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.

      Parameters:
      matchAnyStorageClass - If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchAnyStorageClass

      JobManifestGeneratorFilter.Builder matchAnyStorageClass(S3StorageClass... matchAnyStorageClass)

      If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.

      Parameters:
      matchAnyStorageClass - If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
      Returns:
      Returns a reference to this object so that method calls can be chained together.