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

io.fabric8.openshift.api.model.BuildOutputFluent Maven / Gradle / Ivy

package io.fabric8.openshift.api.model;

import io.fabric8.kubernetes.api.model.ObjectReference;
import java.util.HashMap;
import java.util.Map;
import io.fabric8.common.Nested;
import io.fabric8.kubernetes.api.model.ObjectReferenceFluent;
import io.fabric8.common.Fluent;
import io.fabric8.kubernetes.api.model.ObjectReferenceBuilder;

public class BuildOutputFluent> implements Fluent{

    private String pushSecretName ;
    private ObjectReference to ;
    private Map additionalProperties  = new HashMap();

    public String getPushSecretName(){
    return this.pushSecretName;
    }
    public T withPushSecretName(String pushSecretName){
    this.pushSecretName=pushSecretName; return (T) this;
    }
    public ObjectReference getTo(){
    return this.to;
    }
    public T withTo(ObjectReference to){
    this.to=to; 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 ToNested withNewTo(){
    return new ToNested();
    }
    public T addToAdditionalProperties(String key, Object value){
    if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
    }

    public class ToNested extends ObjectReferenceFluent> implements Nested{

        private final ObjectReferenceBuilder builder = new ObjectReferenceBuilder(this);
    
            public N and(){
            return (N) BuildOutputFluent.this.withTo(builder.build());
        }
            public N endTo(){
            return and();
        }
    
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy