@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteMarkerReplication extends Object implements Serializable, Cloneable
Specifies whether S3 on Outposts replicates delete markers. If you specify a Filter element in your
replication configuration, you must also include a DeleteMarkerReplication element. If your
Filter includes a Tag element, the DeleteMarkerReplication element's
Status child element must be set to Disabled, because S3 on Outposts does not support
replicating delete markers for tag-based rules.
For more information about delete marker replication, see How delete operations affect replication in the Amazon S3 User Guide.
| Constructor and Description |
|---|
DeleteMarkerReplication() |
| Modifier and Type | Method and Description |
|---|---|
DeleteMarkerReplication |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Indicates whether to replicate delete markers.
|
int |
hashCode() |
void |
setStatus(String status)
Indicates whether to replicate delete markers.
|
String |
toString()
Returns a string representation of this object.
|
DeleteMarkerReplication |
withStatus(DeleteMarkerReplicationStatus status)
Indicates whether to replicate delete markers.
|
DeleteMarkerReplication |
withStatus(String status)
Indicates whether to replicate delete markers.
|
public void setStatus(String status)
Indicates whether to replicate delete markers.
status - Indicates whether to replicate delete markers.DeleteMarkerReplicationStatuspublic String getStatus()
Indicates whether to replicate delete markers.
DeleteMarkerReplicationStatuspublic DeleteMarkerReplication withStatus(String status)
Indicates whether to replicate delete markers.
status - Indicates whether to replicate delete markers.DeleteMarkerReplicationStatuspublic DeleteMarkerReplication withStatus(DeleteMarkerReplicationStatus status)
Indicates whether to replicate delete markers.
status - Indicates whether to replicate delete markers.DeleteMarkerReplicationStatuspublic String toString()
toString in class ObjectObject.toString()public DeleteMarkerReplication clone()