annotations.me.snowdrop.istio.adapter.servicecontrol.DoneableGcpServiceSetting Maven / Gradle / Ivy
package me.snowdrop.istio.adapter.servicecontrol;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableGcpServiceSetting extends GcpServiceSettingFluentImpl implements Doneable{
private final GcpServiceSettingBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableGcpServiceSetting(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new GcpServiceSettingBuilder(this);this.function=function;
}
public DoneableGcpServiceSetting(GcpServiceSetting item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new GcpServiceSettingBuilder(this, item);this.function=function;
}
public DoneableGcpServiceSetting(GcpServiceSetting item){
super(item);this.builder=new GcpServiceSettingBuilder(this, item);this.function=new Function() {
public GcpServiceSetting apply(GcpServiceSetting item) {
return item;
}
}
;
}
public GcpServiceSetting done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy