All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.instaclustr.cassandra.backup.impl.RemoteObjectReference Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha8
Show newest version
package com.instaclustr.cassandra.backup.impl;

import java.nio.file.Path;

import com.google.common.base.MoreObjects;

public abstract class RemoteObjectReference {
    public Path objectKey;
    public String canonicalPath;

    public RemoteObjectReference(final Path objectKey, final String canonicalPath) {
        this.objectKey = objectKey;
        this.canonicalPath = canonicalPath;
    }

    public abstract Path getObjectKey();

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("objectKey", objectKey)
                .add("canonicalPath", canonicalPath)
                .toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy