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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JobManifestGeneratorFilter.BuildercreatedAfter(Instant createdAfter)If provided, the generated manifest includes only source bucket objects that were created after this time.JobManifestGeneratorFilter.BuildercreatedBefore(Instant createdBefore)If provided, the generated manifest includes only source bucket objects that were created before this time.JobManifestGeneratorFilter.BuildereligibleForReplication(Boolean eligibleForReplication)Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.default JobManifestGeneratorFilter.BuilderkeyNameConstraint(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.JobManifestGeneratorFilter.BuilderkeyNameConstraint(KeyNameConstraint keyNameConstraint)If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified forMatchAnyPrefix,MatchAnySuffix, andMatchAnySubstring.JobManifestGeneratorFilter.BuildermatchAnyStorageClass(Collection<S3StorageClass> matchAnyStorageClass)If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.JobManifestGeneratorFilter.BuildermatchAnyStorageClass(S3StorageClass... matchAnyStorageClass)If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.JobManifestGeneratorFilter.BuildermatchAnyStorageClassWithStrings(String... matchAnyStorageClass)If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.JobManifestGeneratorFilter.BuildermatchAnyStorageClassWithStrings(Collection<String> matchAnyStorageClass)If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.JobManifestGeneratorFilter.BuilderobjectReplicationStatuses(Collection<ReplicationStatus> objectReplicationStatuses)If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.JobManifestGeneratorFilter.BuilderobjectReplicationStatuses(ReplicationStatus... objectReplicationStatuses)If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.JobManifestGeneratorFilter.BuilderobjectReplicationStatusesWithStrings(String... objectReplicationStatuses)If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.JobManifestGeneratorFilter.BuilderobjectReplicationStatusesWithStrings(Collection<String> objectReplicationStatuses)If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.JobManifestGeneratorFilter.BuilderobjectSizeGreaterThanBytes(Long objectSizeGreaterThanBytes)If provided, the generated manifest includes only source bucket objects whose file size is greater than the specified number of bytes.JobManifestGeneratorFilter.BuilderobjectSizeLessThanBytes(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 Detail
-
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, 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.Builderavoiding the need to create one manually viaKeyNameConstraint.builder().When the
Consumercompletes,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:
keyNameConstraint(KeyNameConstraint)
-
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.
-
-