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

io.github.portlek.sfs.status.Layout Maven / Gradle / Ivy

There is a newer version: 5.7
Show newest version
package io.github.portlek.sfs.status;

import io.github.portlek.sfs.ReplicationStrategy;
import java.util.List;

public class Layout {

    public String collection;

    public String replication;

    public String ttl;

    public List writables;

    public ReplicationStrategy getReplicationStrategy() {
        return ReplicationStrategy.fromParameterValue(this.replication);
    }

    @Override
    public String toString() {
        return "Layout{" +
            "collection='" + this.collection + '\'' +
            ", replication='" + this.replication + '\'' +
            ", ttl='" + this.ttl + '\'' +
            ", writables=" + this.writables +
            '}';
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy