io.github.zanella.nomad.v1.common.models.Job Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nomad-api Show documentation
Show all versions of nomad-api Show documentation
Java client for Nomad's HTTP API
The newest version!
package io.github.zanella.nomad.v1.common.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.zanella.nomad.v1.jobs.models.JobSummary;
import io.github.zanella.nomad.v1.nodes.models.TaskGroup;
import lombok.*;
import java.util.List;
import java.util.Map;
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@NoArgsConstructor
public class Job extends JobSummary {
@JsonProperty("Meta") Map meta;
@JsonProperty("Update") UpdateStrategy update;
@JsonProperty("TaskGroups") List taskGroups;
@JsonProperty("Region") String region;
@JsonProperty("AllAtOnce") Boolean allAtOnce;
@JsonProperty("Datacenters") List datacenters;
@JsonProperty("Constraints") List constraints;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy