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

io.fabric8.kubernetes.api.model.SecretVolumeSourceFluent 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.Nested;

public class SecretVolumeSourceFluent> implements Fluent{

    private ObjectReference target ;
    private Map additionalProperties  = new HashMap();

    public ObjectReference getTarget(){
    return this.target;
    }
    public T withTarget(ObjectReference target){
    this.target=target; 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 TargetNested withNewTarget(){
    return new TargetNested();
    }
    public T addToAdditionalProperties(String key, Object value){
    if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
    }

    public class TargetNested extends ObjectReferenceFluent> implements Nested{

        private final ObjectReferenceBuilder builder = new ObjectReferenceBuilder(this);
    
            public N endTarget(){
            return and();
        }
            public N and(){
            return (N) SecretVolumeSourceFluent.this.withTarget(builder.build());
        }
    
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy