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

mesosphere.marathon.client.model.v2.PortDefinition Maven / Gradle / Ivy

There is a newer version: 0.6.3
Show newest version
package mesosphere.marathon.client.model.v2;

import java.util.HashMap;
import java.util.Map;

import mesosphere.client.common.ModelUtils;

public class PortDefinition {
    private Integer port;
    private String protocol;
    private String name;
    private Map labels = new HashMap<>();

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map getLabels() {
        return labels;
    }

    public void setLabels(Map labels) {
        this.labels = labels;
    }

    @Override
    public String toString() {
        return ModelUtils.toString(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy