me.snowdrop.istio.api.networking.v1alpha3.DoneableUseSourceIpHashKey Maven / Gradle / Ivy
package me.snowdrop.istio.api.networking.v1alpha3;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableUseSourceIpHashKey extends UseSourceIpHashKeyFluentImpl implements Doneable{
private final UseSourceIpHashKeyBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableUseSourceIpHashKey(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new UseSourceIpHashKeyBuilder(this);this.function=function;
}
public DoneableUseSourceIpHashKey(UseSourceIpHashKey item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new UseSourceIpHashKeyBuilder(this, item);this.function=function;
}
public DoneableUseSourceIpHashKey(UseSourceIpHashKey item){
super(item);this.builder=new UseSourceIpHashKeyBuilder(this, item);this.function=new Function() {
public UseSourceIpHashKey apply(UseSourceIpHashKey item) {
return item;
}
}
;
}
public UseSourceIpHashKey done(){
return function.apply(builder.build());
}
}