![JAR search and dependency download from the Maven repository](/logo.png)
mesosphere.marathon.client.model.v2.AppIpAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marathon-client Show documentation
Show all versions of marathon-client Show documentation
A Java API client for Mesosphere's Marathon.
package mesosphere.marathon.client.model.v2;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import mesosphere.client.common.ModelUtils;
public class AppIpAddress {
private Collection groups;
private Map labels = new HashMap<>();
private DiscoveryInfo discoveryInfo;
private String networkName;
public Collection getGroups() {
return groups;
}
public void setGroups(Collection groups) {
this.groups = groups;
}
public void addGroup(String option) {
if (groups == null) {
groups = new ArrayList();
}
groups.add(option);
}
public Map getLabels() {
return labels;
}
public void setLabels(Map labels) {
this.labels = labels;
}
public DiscoveryInfo getDiscoveryInfo() {
return discoveryInfo;
}
public void setDiscoveryInfo(DiscoveryInfo discoveryInfo) {
this.discoveryInfo = discoveryInfo;
}
public String getNetworkName() {
return networkName;
}
public void setNetworkName(String networkName) {
this.networkName = networkName;
}
@Override
public String toString() {
return ModelUtils.toString(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy