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

io.fabric8.kubernetes.api.model.DoneablePodDNSConfigOption Maven / Gradle / Ivy

There is a newer version: 7.1.0
Show newest version
package io.fabric8.kubernetes.api.model;

import io.fabric8.kubernetes.api.builder.Function;

public class DoneablePodDNSConfigOption extends PodDNSConfigOptionFluentImpl implements Doneable{

    private final PodDNSConfigOptionBuilder builder;
    private final io.fabric8.kubernetes.api.builder.Function function;

    public DoneablePodDNSConfigOption(io.fabric8.kubernetes.api.builder.Function function){
            super();this.builder=new PodDNSConfigOptionBuilder(this);this.function=function;
    }
    public DoneablePodDNSConfigOption(PodDNSConfigOption item,io.fabric8.kubernetes.api.builder.Function function){
            super(item);this.builder=new PodDNSConfigOptionBuilder(this, item);this.function=function;
    }
    public DoneablePodDNSConfigOption(PodDNSConfigOption item){
            super(item);this.builder=new PodDNSConfigOptionBuilder(this, item);this.function=new Function() {
    public PodDNSConfigOption apply(PodDNSConfigOption item) {
        return item;
    }
}
;
    }

    public PodDNSConfigOption done(){
             return function.apply(builder.build());
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy