mesosphere.metronome.client.model.v1.RestartPolicy 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.metronome.client.model.v1;
import mesosphere.client.common.ModelUtils;
public class RestartPolicy {
private Integer activeDeadlineSeconds;
private String policy;
public Integer getActiveDeadlineSeconds() {
return activeDeadlineSeconds;
}
public void setActiveDeadlineSeconds(Integer activeDeadlineSeconds) {
this.activeDeadlineSeconds = activeDeadlineSeconds;
}
public String getPolicy() {
return policy;
}
public void setPolicy(String policy) {
this.policy = policy;
}
@Override
public String toString() {
return ModelUtils.toString(this);
}
}