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

consul.Self Maven / Gradle / Ivy

package consul;

public class Self {
    private String address;
    private Integer port;
    private String node;

    public Self(String address, Integer port, String node) {
        this.address = address;
        this.port = port;
        this.node = node;
    }

    public String getAddress() {
        return address;
    }

    public Integer getPort() {
        return port;
    }

    public String getNode() {
        return node;
    }

    @Override
    public String toString() {
        return "Self [address=" + address + ", port=" + port + ", node=" + node + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy