@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobManifestGeneratorFilter extends Object implements Serializable, Cloneable
The filter used to describe a set of objects for the job's manifest.
Constructor and Description |
---|
JobManifestGeneratorFilter() |
Modifier and Type | Method and Description |
---|---|
JobManifestGeneratorFilter |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAfter()
If provided, the generated manifest includes only source bucket objects that were created after this time.
|
Date |
getCreatedBefore()
If provided, the generated manifest includes only source bucket objects that were created before this time.
|
Boolean |
getEligibleForReplication()
Include objects in the generated manifest only if they are eligible for replication according to the Replication
configuration on the source bucket.
|
KeyNameConstraint |
getKeyNameConstraint()
If provided, the generated manifest includes only source bucket objects whose object keys match the string
constraints specified for
MatchAnyPrefix , MatchAnySuffix , and
MatchAnySubstring . |
List<String> |
getMatchAnyStorageClass()
If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.
|
List<String> |
getObjectReplicationStatuses()
If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.
|
Long |
getObjectSizeGreaterThanBytes()
If provided, the generated manifest includes only source bucket objects whose file size is greater than the
specified number of bytes.
|
Long |
getObjectSizeLessThanBytes()
If provided, the generated manifest includes only source bucket objects whose file size is less than the
specified number of bytes.
|
int |
hashCode() |
Boolean |
isEligibleForReplication()
Include objects in the generated manifest only if they are eligible for replication according to the Replication
configuration on the source bucket.
|
void |
setCreatedAfter(Date createdAfter)
If provided, the generated manifest includes only source bucket objects that were created after this time.
|
void |
setCreatedBefore(Date createdBefore)
If provided, the generated manifest includes only source bucket objects that were created before this time.
|
void |
setEligibleForReplication(Boolean eligibleForReplication)
Include objects in the generated manifest only if they are eligible for replication according to the Replication
configuration on the source bucket.
|
void |
setKeyNameConstraint(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 . |
void |
setMatchAnyStorageClass(Collection<String> matchAnyStorageClass)
If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.
|
void |
setObjectReplicationStatuses(Collection<String> objectReplicationStatuses)
If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.
|
void |
setObjectSizeGreaterThanBytes(Long objectSizeGreaterThanBytes)
If provided, the generated manifest includes only source bucket objects whose file size is greater than the
specified number of bytes.
|
void |
setObjectSizeLessThanBytes(Long objectSizeLessThanBytes)
If provided, the generated manifest includes only source bucket objects whose file size is less than the
specified number of bytes.
|
String |
toString()
Returns a string representation of this object.
|
JobManifestGeneratorFilter |
withCreatedAfter(Date createdAfter)
If provided, the generated manifest includes only source bucket objects that were created after this time.
|
JobManifestGeneratorFilter |
withCreatedBefore(Date createdBefore)
If provided, the generated manifest includes only source bucket objects that were created before this time.
|
JobManifestGeneratorFilter |
withEligibleForReplication(Boolean eligibleForReplication)
Include objects in the generated manifest only if they are eligible for replication according to the Replication
configuration on the source bucket.
|
JobManifestGeneratorFilter |
withKeyNameConstraint(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 . |
JobManifestGeneratorFilter |
withMatchAnyStorageClass(Collection<String> matchAnyStorageClass)
If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.
|
JobManifestGeneratorFilter |
withMatchAnyStorageClass(S3StorageClass... matchAnyStorageClass)
If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.
|
JobManifestGeneratorFilter |
withMatchAnyStorageClass(String... matchAnyStorageClass)
If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.
|
JobManifestGeneratorFilter |
withObjectReplicationStatuses(Collection<String> objectReplicationStatuses)
If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.
|
JobManifestGeneratorFilter |
withObjectReplicationStatuses(ReplicationStatus... objectReplicationStatuses)
If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.
|
JobManifestGeneratorFilter |
withObjectReplicationStatuses(String... objectReplicationStatuses)
If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.
|
JobManifestGeneratorFilter |
withObjectSizeGreaterThanBytes(Long objectSizeGreaterThanBytes)
If provided, the generated manifest includes only source bucket objects whose file size is greater than the
specified number of bytes.
|
JobManifestGeneratorFilter |
withObjectSizeLessThanBytes(Long objectSizeLessThanBytes)
If provided, the generated manifest includes only source bucket objects whose file size is less than the
specified number of bytes.
|
public void setEligibleForReplication(Boolean eligibleForReplication)
Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.
eligibleForReplication
- Include objects in the generated manifest only if they are eligible for replication according to the
Replication configuration on the source bucket.public Boolean getEligibleForReplication()
Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.
public JobManifestGeneratorFilter withEligibleForReplication(Boolean eligibleForReplication)
Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.
eligibleForReplication
- Include objects in the generated manifest only if they are eligible for replication according to the
Replication configuration on the source bucket.public Boolean isEligibleForReplication()
Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.
public void setCreatedAfter(Date createdAfter)
If provided, the generated manifest includes only source bucket objects that were created after this time.
createdAfter
- If provided, the generated manifest includes only source bucket objects that were created after this time.public Date getCreatedAfter()
If provided, the generated manifest includes only source bucket objects that were created after this time.
public JobManifestGeneratorFilter withCreatedAfter(Date createdAfter)
If provided, the generated manifest includes only source bucket objects that were created after this time.
createdAfter
- If provided, the generated manifest includes only source bucket objects that were created after this time.public void setCreatedBefore(Date createdBefore)
If provided, the generated manifest includes only source bucket objects that were created before this time.
createdBefore
- If provided, the generated manifest includes only source bucket objects that were created before this
time.public Date getCreatedBefore()
If provided, the generated manifest includes only source bucket objects that were created before this time.
public JobManifestGeneratorFilter withCreatedBefore(Date createdBefore)
If provided, the generated manifest includes only source bucket objects that were created before this time.
createdBefore
- If provided, the generated manifest includes only source bucket objects that were created before this
time.public List<String> getObjectReplicationStatuses()
If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
ReplicationStatus
public void setObjectReplicationStatuses(Collection<String> objectReplicationStatuses)
If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
objectReplicationStatuses
- If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.ReplicationStatus
public JobManifestGeneratorFilter withObjectReplicationStatuses(String... objectReplicationStatuses)
If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
NOTE: This method appends the values to the existing list (if any). Use
setObjectReplicationStatuses(java.util.Collection)
or
withObjectReplicationStatuses(java.util.Collection)
if you want to override the existing values.
objectReplicationStatuses
- If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.ReplicationStatus
public JobManifestGeneratorFilter withObjectReplicationStatuses(Collection<String> objectReplicationStatuses)
If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
objectReplicationStatuses
- If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.ReplicationStatus
public JobManifestGeneratorFilter withObjectReplicationStatuses(ReplicationStatus... objectReplicationStatuses)
If provided, the generated manifest includes only source bucket objects that have one of the specified Replication statuses.
objectReplicationStatuses
- If provided, the generated manifest includes only source bucket objects that have one of the specified
Replication statuses.ReplicationStatus
public void setKeyNameConstraint(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
.
keyNameConstraint
- If provided, the generated manifest includes only source bucket objects whose object keys match the string
constraints specified for MatchAnyPrefix
, MatchAnySuffix
, and
MatchAnySubstring
.public KeyNameConstraint getKeyNameConstraint()
If provided, the generated manifest includes only source bucket objects whose object keys match the string
constraints specified for MatchAnyPrefix
, MatchAnySuffix
, and
MatchAnySubstring
.
MatchAnyPrefix
, MatchAnySuffix
, and
MatchAnySubstring
.public JobManifestGeneratorFilter withKeyNameConstraint(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
.
keyNameConstraint
- If provided, the generated manifest includes only source bucket objects whose object keys match the string
constraints specified for MatchAnyPrefix
, MatchAnySuffix
, and
MatchAnySubstring
.public void setObjectSizeGreaterThanBytes(Long objectSizeGreaterThanBytes)
If provided, the generated manifest includes only source bucket objects whose file size is greater than the specified number of bytes.
objectSizeGreaterThanBytes
- If provided, the generated manifest includes only source bucket objects whose file size is greater than
the specified number of bytes.public Long getObjectSizeGreaterThanBytes()
If provided, the generated manifest includes only source bucket objects whose file size is greater than the specified number of bytes.
public JobManifestGeneratorFilter withObjectSizeGreaterThanBytes(Long objectSizeGreaterThanBytes)
If provided, the generated manifest includes only source bucket objects whose file size is greater than the specified number of bytes.
objectSizeGreaterThanBytes
- If provided, the generated manifest includes only source bucket objects whose file size is greater than
the specified number of bytes.public void setObjectSizeLessThanBytes(Long objectSizeLessThanBytes)
If provided, the generated manifest includes only source bucket objects whose file size is less than the specified number of bytes.
objectSizeLessThanBytes
- If provided, the generated manifest includes only source bucket objects whose file size is less than the
specified number of bytes.public Long getObjectSizeLessThanBytes()
If provided, the generated manifest includes only source bucket objects whose file size is less than the specified number of bytes.
public JobManifestGeneratorFilter withObjectSizeLessThanBytes(Long objectSizeLessThanBytes)
If provided, the generated manifest includes only source bucket objects whose file size is less than the specified number of bytes.
objectSizeLessThanBytes
- If provided, the generated manifest includes only source bucket objects whose file size is less than the
specified number of bytes.public List<String> getMatchAnyStorageClass()
If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
S3StorageClass
public void setMatchAnyStorageClass(Collection<String> matchAnyStorageClass)
If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
matchAnyStorageClass
- If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.S3StorageClass
public JobManifestGeneratorFilter withMatchAnyStorageClass(String... matchAnyStorageClass)
If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
NOTE: This method appends the values to the existing list (if any). Use
setMatchAnyStorageClass(java.util.Collection)
or withMatchAnyStorageClass(java.util.Collection)
if you want to override the existing values.
matchAnyStorageClass
- If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.S3StorageClass
public JobManifestGeneratorFilter withMatchAnyStorageClass(Collection<String> matchAnyStorageClass)
If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
matchAnyStorageClass
- If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.S3StorageClass
public JobManifestGeneratorFilter withMatchAnyStorageClass(S3StorageClass... matchAnyStorageClass)
If provided, the generated manifest includes only source bucket objects that are stored with the specified storage class.
matchAnyStorageClass
- If provided, the generated manifest includes only source bucket objects that are stored with the specified
storage class.S3StorageClass
public String toString()
toString
in class Object
Object.toString()
public JobManifestGeneratorFilter clone()