public class DeleteMarkerReplication extends Object implements Serializable, Cloneable
Filter
in your replication configuration, you must also include a
DeleteMarkerReplication
element. If your Filter
includes a Tag
element, the
DeleteMarkerReplication
Status
must be set to Disabled, because Amazon S3 does not support
replicating delete markers for tag-based rules. For an example configuration, see Basic
Rule Configuration.
For more information about delete marker replication, see Basic Rule Configuration.
If you are using an earlier version of the replication configuration, Amazon S3 handles replication of
delete markers differently. For more information, see Backward
Compatibility.
Constructor and Description |
---|
DeleteMarkerReplication() |
Modifier and Type | Method and Description |
---|---|
DeleteMarkerReplication |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Return whether to replicate delete markers.
|
int |
hashCode() |
void |
setStatus(String status)
Set whether to replicate delete markers.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteMarkerReplication |
withStatus(DeleteMarkerReplicationStatus status)
Set whether to replicate delete markers.
|
DeleteMarkerReplication |
withStatus(String status)
Set whether to replicate delete markers.
|
public String getStatus()
public void setStatus(String status)
status
- New replication status.public DeleteMarkerReplication withStatus(String status)
status
- New replication status.public DeleteMarkerReplication withStatus(DeleteMarkerReplicationStatus status)
status
- New replication status.public String toString()
toString
in class Object
Object.toString()
public DeleteMarkerReplication clone()
Copyright © 2021. All rights reserved.