public ReplicationDestinationConfig withBucketARN(String bucketARN) {
        setBucketARN(bucketARN);
        return this;
    }
Sets the destination bucket ARN for the replication rule. Returns the
updated object.

@throws IllegalArgumentException
            if the bucket arn is null.
@return the updated {@link ReplicationDestinationConfig} object
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ReplicationDestinationConfig.java