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