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