All Downloads are FREE. Search and download functionalities are using the official Maven repository.

annotations.io.fabric8.kubernetes.api.model.base.VolumeMountFluent Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model.base;

import java.util.HashMap;
import java.util.Map;
import io.fabric8.common.Fluent;

public class VolumeMountFluent> implements Fluent{

    private String mountPath ;
    private String name ;
    private Boolean readOnly ;
    private Map additionalProperties  = new HashMap();

    public String getMountPath(){
    return this.mountPath;
    }
    public T withMountPath(String mountPath){
    this.mountPath=mountPath; return (T) this;
    }
    public String getName(){
    return this.name;
    }
    public T withName(String name){
    this.name=name; return (T) this;
    }
    public Boolean isReadOnly(){
    return this.readOnly;
    }
    public T withReadOnly(Boolean readOnly){
    this.readOnly=readOnly; 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