io.github.portlek.sfs.status.Layout Maven / Gradle / Ivy
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