public ReplicaModifications withStatus(ReplicaModificationsStatus status) {
        setStatus(status == null ? null : status.toString());
        return this;
    }
Sets the replication modification status for s3 replica objects.

@param status New replication status.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ReplicaModifications.java