annotations.io.alauda.devops.api.model.DoneableBitbucketWebHookCause Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import io.alauda.kubernetes.api.builder.Function;
import io.alauda.kubernetes.api.model.Doneable;
public class DoneableBitbucketWebHookCause extends BitbucketWebHookCauseFluentImpl implements Doneable{
private final BitbucketWebHookCauseBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableBitbucketWebHookCause(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new BitbucketWebHookCauseBuilder(this);this.function=function;
}
public DoneableBitbucketWebHookCause(BitbucketWebHookCause item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new BitbucketWebHookCauseBuilder(this, item);this.function=function;
}
public DoneableBitbucketWebHookCause(BitbucketWebHookCause item){
super(item);this.builder=new BitbucketWebHookCauseBuilder(this, item);this.function=new Function() {
public BitbucketWebHookCause apply(BitbucketWebHookCause item) {
return item;
}
}
;
}
public BitbucketWebHookCause done(){
return function.apply(builder.build());
}
}