com.spotinst.sdkjava.model.bl.ocean.kubernetes.LaunchNodesInVNG Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.bl.ocean.kubernetes;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.HashSet;
import java.util.Set;
public class LaunchNodesInVNG {
@JsonIgnore
private Set isSet;
private Integer amount;
private LaunchNodesInVNG() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public Integer getAmount() {
return amount;
}
public void setAmount(Integer amount) {
isSet.add("amount");
this.amount = amount;
}
public static class Builder {
private LaunchNodesInVNG launchRequest;
private Builder() {
this.launchRequest = new LaunchNodesInVNG();
}
public static Builder get() {
return new Builder();
}
public Builder setAmount(final Integer amount) {
launchRequest.setAmount(amount);
return this;
}
public LaunchNodesInVNG build() {
// Validations
return launchRequest;
}
}
@JsonIgnore
public boolean isAmountSet() {
return isSet.contains("amount");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy