com.spotinst.sdkjava.model.bl.ocean.aks.LaunchNodesInAksVNGResponse Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.bl.ocean.aks;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class LaunchNodesInAksVNGResponse {
@JsonIgnore
private Set isSet;
private List vms;
public LaunchNodesInAksVNGResponse() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public List getVms() {
return vms;
}
public void setVms(List vms) {
isSet.add("vms");
this.vms = vms;
}
public static class Builder {
private LaunchNodesInAksVNGResponse nodes;
private Builder() {
this.nodes = new LaunchNodesInAksVNGResponse();
}
public static Builder get() {
return new Builder();
}
public Builder setVms(final List launchNodes) {
nodes.setVms(launchNodes);
return this;
}
public LaunchNodesInAksVNGResponse build() {
return nodes;
}
}
@JsonIgnore
public boolean isVmsSet() {
return isSet.contains("vms");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy