@Generated(value="software.amazon.awssdk:codegen") public final class DeleteMarkerReplication extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeleteMarkerReplication.Builder,DeleteMarkerReplication>
Specifies whether Amazon S3 replicates the delete markers. If you specify a Filter
, you must specify
this element. However, in the latest version of replication configuration (when Filter
is specified),
Amazon S3 doesn't replicate delete markers. Therefore, the DeleteMarkerReplication
element can contain
only <Status>Disabled</Status>. For an example configuration, see Basic Rule Configuration.
If you don't specify the Filter element, Amazon S3 assumes the replication configuration is the earlier version, V1. In the earlier version, Amazon S3 handled replication of delete markers differently. For more information, see Backward Compatibility.
Modifier and Type | Class and Description |
---|---|
static interface |
DeleteMarkerReplication.Builder |
Modifier and Type | Method and Description |
---|---|
static DeleteMarkerReplication.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteMarkerReplication.Builder> |
serializableBuilderClass() |
DeleteMarkerReplicationStatus |
status()
Indicates whether to replicate delete markers.
|
String |
statusAsString()
Indicates whether to replicate delete markers.
|
DeleteMarkerReplication.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public DeleteMarkerReplicationStatus status()
Indicates whether to replicate delete markers.
In the current implementation, Amazon S3 doesn't replicate the delete markers. The status must be
Disabled
.
If the service returns an enum value that is not available in the current SDK version, status
will
return DeleteMarkerReplicationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
In the current implementation, Amazon S3 doesn't replicate the delete markers. The status must be
Disabled
.
DeleteMarkerReplicationStatus
public String statusAsString()
Indicates whether to replicate delete markers.
In the current implementation, Amazon S3 doesn't replicate the delete markers. The status must be
Disabled
.
If the service returns an enum value that is not available in the current SDK version, status
will
return DeleteMarkerReplicationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
In the current implementation, Amazon S3 doesn't replicate the delete markers. The status must be
Disabled
.
DeleteMarkerReplicationStatus
public DeleteMarkerReplication.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DeleteMarkerReplication.Builder,DeleteMarkerReplication>
public static DeleteMarkerReplication.Builder builder()
public static Class<? extends DeleteMarkerReplication.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.