com.spotinst.sdkjava.model.bl.ocean.aks.ClusterOsDiskAks Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.bl.ocean.aks;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.HashSet;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ClusterOsDiskAks {
@JsonIgnore
private Set isSet;
private Integer sizeGB;
private ClusterOsDiskAks() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public Integer getSizeGB() {
return sizeGB;
}
public void setSizeGB(Integer sizeGB) {
isSet.add("sizeGB");
this.sizeGB = sizeGB;
}
@JsonIgnore
public boolean isSizeGBSet() {
return isSet.contains("sizeGB");
}
public static class Builder {
private ClusterOsDiskAks clusterOsDiskAks;
private Builder() {
this.clusterOsDiskAks = new ClusterOsDiskAks();
}
public static ClusterOsDiskAks.Builder get() {
return new Builder();
}
public ClusterOsDiskAks.Builder setSizeGB(final Integer sizeGB) {
clusterOsDiskAks.setSizeGB(sizeGB);
return this;
}
public ClusterOsDiskAks build() {
return clusterOsDiskAks;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy