Interface JobManifestGeneratorFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobManifestGeneratorFilter.Builder,
,JobManifestGeneratorFilter> SdkBuilder<JobManifestGeneratorFilter.Builder,
,JobManifestGeneratorFilter> SdkPojo
- Enclosing class:
JobManifestGeneratorFilter
-
Method Summary
Modifier and TypeMethodDescriptioncreatedAfter
(Instant createdAfter) If provided, the generated manifest includes only source bucket objects that were created after this time.createdBefore
(Instant createdBefore) If provided, the generated manifest includes only source bucket objects that were created before this time.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.keyNameConstraint
(Consumer<KeyNameConstraint.Builder> keyNameConstraint) If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified forMatchAnyPrefix
,MatchAnySuffix
, andMatchAnySubstring
.keyNameConstraint
(KeyNameConstraint keyNameConstraint) If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified forMatchAnyPrefix
,MatchAnySuffix
, andMatchAnySubstring
.matchAnyStorageClass
(Collection<S3StorageClass> matchAnyStorageClass) If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.matchAnyStorageClass
(S3StorageClass... matchAnyStorageClass) If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.matchAnyStorageClassWithStrings
(String... matchAnyStorageClass) If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.matchAnyStorageClassWithStrings
(Collection<String> matchAnyStorageClass) If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.objectReplicationStatuses
(Collection<ReplicationStatus> objectReplicationStatuses) If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.objectReplicationStatuses
(ReplicationStatus... objectReplicationStatuses) If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.objectReplicationStatusesWithStrings
(String... objectReplicationStatuses) If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.objectReplicationStatusesWithStrings
(Collection<String> objectReplicationStatuses) If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.objectSizeGreaterThanBytes
(Long objectSizeGreaterThanBytes) If provided, the generated manifest includes only source bucket objects whose file size is greater than the specified number of bytes.objectSizeLessThanBytes
(Long objectSizeLessThanBytes) If provided, the generated manifest includes only source bucket objects whose file size is less than the specified number of bytes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified for
MatchAnyPrefix
,MatchAnySuffix
, andMatchAnySubstring
.- Parameters:
keyNameConstraint
- If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified forMatchAnyPrefix
,MatchAnySuffix
, andMatchAnySubstring
.- 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
This is a convenience method that creates an instance of theMatchAnyPrefix
,MatchAnySuffix
, andMatchAnySubstring
.KeyNameConstraint.Builder
avoiding the need to create one manually viaKeyNameConstraint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyNameConstraint(KeyNameConstraint)
.- Parameters:
keyNameConstraint
- a consumer that will call methods onKeyNameConstraint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.
-