com.spotinst.sdkjava.model.bl.azure.elastiGroup.V3.ElastigroupSchedulingConfigurationAzure Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.bl.azure.elastiGroup.V3;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class ElastigroupSchedulingConfigurationAzure {
//region Members
@JsonIgnore
private Set isSet;
private List tasks;
//endregion
//region Constructor
private ElastigroupSchedulingConfigurationAzure() {
isSet = new HashSet<>();
}
//endregion
//region Getters & Setters
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public List getTasks() {
return tasks;
}
public void setTasks(List tasks) {
isSet.add("tasks");
this.tasks = tasks;
}
//endregion
//region Builder class
public static class Builder {
private ElastigroupSchedulingConfigurationAzure scheduling;
private Builder() {
this.scheduling = new ElastigroupSchedulingConfigurationAzure();
}
public static Builder get() {
return new Builder();
}
public Builder setTasks(final List tasks) {
scheduling.setTasks(tasks);
return this;
}
public ElastigroupSchedulingConfigurationAzure build() {
return scheduling;
}
}
//endregion
//region isSet methods
@JsonIgnore
public boolean isTasksSet() {
return isSet.contains("tasks");
}
//endregion
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy