@Deprecated
    public ReplicationRule withPrefix(String prefix) {
        setPrefix(prefix);
        return this;
    }
Sets the Amazon S3 Object prefix for the replication rule. Returns the
updated object.

@return the updated {@link ReplicationRule} object.
@throws IllegalArgumentException
            if the prefix is null.
@deprecated Use {@link ReplicationFilter}.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ReplicationRule.java