com.spotinst.sdkjava.model.bl.ocean.aks.AksDetachInstances 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 AksDetachInstances {
@JsonIgnore
private Set isSet;
private List vmsToDetach;
private AksDetachInstances() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public List getVmsToDetach() {
return vmsToDetach;
}
public void setVmsToDetach(List vmsToDetach) {
isSet.add("vmsToDetach");
this.vmsToDetach = vmsToDetach;
}
public static class Builder {
private AksDetachInstances detachInstances;
private Builder() {
this.detachInstances = new AksDetachInstances();
}
public static Builder get() {
return new Builder();
}
public Builder setVmsToDetach(final List vmsToDetach) {
detachInstances.setVmsToDetach(vmsToDetach);
return this;
}
public AksDetachInstances build() {
return detachInstances;
}
}
@JsonIgnore
public boolean isVmsToDetachSet() {
return isSet.contains("vmsToDetach");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy