io.fabric8.openshift.api.model.machine.v1beta1.LastOperationBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.machine.v1beta1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class LastOperationBuilder extends LastOperationFluent implements VisitableBuilder{
public LastOperationBuilder() {
this(new LastOperation());
}
public LastOperationBuilder(LastOperationFluent> fluent) {
this(fluent, new LastOperation());
}
public LastOperationBuilder(LastOperationFluent> fluent,LastOperation instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public LastOperationBuilder(LastOperation instance) {
this.fluent = this;
this.copyInstance(instance);
}
LastOperationFluent> fluent;
public LastOperation build() {
LastOperation buildable = new LastOperation(fluent.getDescription(),fluent.getLastUpdated(),fluent.getState(),fluent.getType());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy