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