io.alauda.kubernetes.api.model.extensions.DoneableReplicaSetCondition 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 DoneableReplicaSetCondition extends ReplicaSetConditionFluentImpl implements Doneable{
private final ReplicaSetConditionBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableReplicaSetCondition(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new ReplicaSetConditionBuilder(this);this.function=function;
}
public DoneableReplicaSetCondition(ReplicaSetCondition item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new ReplicaSetConditionBuilder(this, item);this.function=function;
}
public DoneableReplicaSetCondition(ReplicaSetCondition item){
super(item);this.builder=new ReplicaSetConditionBuilder(this, item);this.function=new Function() {
public ReplicaSetCondition apply(ReplicaSetCondition item) {
return item;
}
}
;
}
public ReplicaSetCondition done(){
return function.apply(builder.build());
}
}