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

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

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

import mesosphere.client.common.ModelUtils;

public class HealthCheck {
	private Command command;
	private Integer gracePeriodSeconds;
	private Integer intervalSeconds;
	private Integer maxConsecutiveFailures;
	private Integer portIndex;
	private Integer port;
	private Integer timeoutSeconds;
	private boolean ignoreHttp1xx;
	private String path;
	private String protocol;

	public Integer getGracePeriodSeconds() {
		return gracePeriodSeconds;
	}

	public void setGracePeriodSeconds(Integer gracePeriodSeconds) {
		this.gracePeriodSeconds = gracePeriodSeconds;
	}

	public Integer getIntervalSeconds() {
		return intervalSeconds;
	}

	public void setIntervalSeconds(Integer intervalSeconds) {
		this.intervalSeconds = intervalSeconds;
	}

	public Integer getMaxConsecutiveFailures() {
		return maxConsecutiveFailures;
	}

	public void setMaxConsecutiveFailures(Integer maxConsecutiveFailures) {
		this.maxConsecutiveFailures = maxConsecutiveFailures;
	}

	public Integer getPortIndex() {
		return portIndex;
	}

	public void setPortIndex(Integer portIndex) {
		this.portIndex = portIndex;
	}

	public Integer getPort() {
		return port;
	}

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

	public Integer getTimeoutSeconds() {
		return timeoutSeconds;
	}

	public void setTimeoutSeconds(Integer timeoutSeconds) {
		this.timeoutSeconds = timeoutSeconds;
	}

	public boolean isIgnoreHttp1xx() {
		return ignoreHttp1xx;
	}

	public void setIgnoreHttp1xx(boolean ignoreHttp1xx) {
		this.ignoreHttp1xx = ignoreHttp1xx;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getProtocol() {
		return protocol;
	}

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

	public Command getCommand() {
		return command;
	}

	public void setCommand(Command command) {
		this.command = command;
	}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy