io.fabric8.kubernetes.api.model.NodeSpecFluent Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import java.util.HashMap;
import java.util.Map;
import io.fabric8.common.Fluent;
public class NodeSpecFluent> implements Fluent{
private String externalID ;
private String podCIDR ;
private Boolean unschedulable ;
private Map additionalProperties = new HashMap();
public String getExternalID(){
return this.externalID;
}
public T withExternalID(String externalID){
this.externalID=externalID; return (T) this;
}
public String getPodCIDR(){
return this.podCIDR;
}
public T withPodCIDR(String podCIDR){
this.podCIDR=podCIDR; return (T) this;
}
public Boolean isUnschedulable(){
return this.unschedulable;
}
public T withUnschedulable(Boolean unschedulable){
this.unschedulable=unschedulable; return (T) this;
}
public Map getAdditionalProperties(){
return this.additionalProperties;
}
public T withAdditionalProperties(Map additionalProperties){
this.additionalProperties.clear();if (additionalProperties != null) {this.additionalProperties.putAll(additionalProperties);} return (T) this;
}
public T addToAdditionalProperties(String key, Object value){
if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy