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