io.fabric8.knative.internal.networking.v1alpha1.HTTPRetryBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.knative.internal.networking.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class HTTPRetryBuilder extends HTTPRetryFluent implements VisitableBuilder{
public HTTPRetryBuilder() {
this(new HTTPRetry());
}
public HTTPRetryBuilder(HTTPRetryFluent> fluent) {
this(fluent, new HTTPRetry());
}
public HTTPRetryBuilder(HTTPRetryFluent> fluent,HTTPRetry instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public HTTPRetryBuilder(HTTPRetry instance) {
this.fluent = this;
this.copyInstance(instance);
}
HTTPRetryFluent> fluent;
public HTTPRetry build() {
HTTPRetry buildable = new HTTPRetry(fluent.getAttempts(),fluent.getPerTryTimeout());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy