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

me.snowdrop.istio.api.authentication.v1alpha1.DoneablePeerAuthenticationMethod Maven / Gradle / Ivy

package me.snowdrop.istio.api.authentication.v1alpha1;

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

public class DoneablePeerAuthenticationMethod extends PeerAuthenticationMethodFluentImpl implements Doneable{

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

    public DoneablePeerAuthenticationMethod(io.fabric8.kubernetes.api.builder.Function function){
            super();this.builder=new PeerAuthenticationMethodBuilder(this);this.function=function;
    }
    public DoneablePeerAuthenticationMethod(PeerAuthenticationMethod item,io.fabric8.kubernetes.api.builder.Function function){
            super(item);this.builder=new PeerAuthenticationMethodBuilder(this, item);this.function=function;
    }
    public DoneablePeerAuthenticationMethod(PeerAuthenticationMethod item){
            super(item);this.builder=new PeerAuthenticationMethodBuilder(this, item);this.function=new Function() {
    public PeerAuthenticationMethod apply(PeerAuthenticationMethod item) {
        return item;
    }
}
;
    }

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




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy