io.kubernetes.client.openapi.models.V1JobConditionBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1JobConditionBuilder extends V1JobConditionFluent implements VisitableBuilder{
public V1JobConditionBuilder() {
this(new V1JobCondition());
}
public V1JobConditionBuilder(V1JobConditionFluent> fluent) {
this(fluent, new V1JobCondition());
}
public V1JobConditionBuilder(V1JobConditionFluent> fluent,V1JobCondition instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1JobConditionBuilder(V1JobCondition instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1JobConditionFluent> fluent;
public V1JobCondition build() {
V1JobCondition buildable = new V1JobCondition();
buildable.setLastProbeTime(fluent.getLastProbeTime());
buildable.setLastTransitionTime(fluent.getLastTransitionTime());
buildable.setMessage(fluent.getMessage());
buildable.setReason(fluent.getReason());
buildable.setStatus(fluent.getStatus());
buildable.setType(fluent.getType());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy