annotations.io.fabric8.kubernetes.api.model.ISCSIVolumeSourceFluent Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import java.util.HashMap;
import java.util.Map;
import io.fabric8.common.Fluent;
import io.fabric8.common.BaseFluent;
import io.fabric8.common.Visitable;
public class ISCSIVolumeSourceFluent> extends BaseFluent implements Fluent{
String fsType; String iqn; Integer lun; Boolean readOnly; String targetPortal; Map additionalProperties = new HashMap();
public String getFsType(){
return this.fsType;
}
public T withFsType( String fsType){
this.fsType=fsType; return (T) this;
}
public String getIqn(){
return this.iqn;
}
public T withIqn( String iqn){
this.iqn=iqn; return (T) this;
}
public Integer getLun(){
return this.lun;
}
public T withLun( Integer lun){
this.lun=lun; return (T) this;
}
public Boolean isReadOnly(){
return this.readOnly;
}
public T withReadOnly( Boolean readOnly){
this.readOnly=readOnly; return (T) this;
}
public String getTargetPortal(){
return this.targetPortal;
}
public T withTargetPortal( String targetPortal){
this.targetPortal=targetPortal; return (T) this;
}
public T addToAdditionalProperties( String key, Object value){
if(key != null && value != null) {this.additionalProperties.put(key, value);} 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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy