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