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

me.snowdrop.istio.api.rbac.v1alpha1.DoneableServiceRoleBindingSpec Maven / Gradle / Ivy

There is a newer version: 1.7.7.1
Show newest version
package me.snowdrop.istio.api.rbac.v1alpha1;

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

public class DoneableServiceRoleBindingSpec extends ServiceRoleBindingSpecFluentImpl implements Doneable{

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

    public DoneableServiceRoleBindingSpec(io.fabric8.kubernetes.api.builder.Function function){
            super();this.builder=new ServiceRoleBindingSpecBuilder(this);this.function=function;
    }
    public DoneableServiceRoleBindingSpec(ServiceRoleBindingSpec item,io.fabric8.kubernetes.api.builder.Function function){
            super(item);this.builder=new ServiceRoleBindingSpecBuilder(this, item);this.function=function;
    }
    public DoneableServiceRoleBindingSpec(ServiceRoleBindingSpec item){
            super(item);this.builder=new ServiceRoleBindingSpecBuilder(this, item);this.function=new Function() {
    public ServiceRoleBindingSpec apply(ServiceRoleBindingSpec item) {
        return item;
    }
}
;
    }

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




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy