io.fabric8.kubernetes.api.model.extensions.IngressLoadBalancerStatusBuilder Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.extensions;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class IngressLoadBalancerStatusBuilder extends IngressLoadBalancerStatusFluent implements VisitableBuilder{
public IngressLoadBalancerStatusBuilder() {
this(new IngressLoadBalancerStatus());
}
public IngressLoadBalancerStatusBuilder(IngressLoadBalancerStatusFluent> fluent) {
this(fluent, new IngressLoadBalancerStatus());
}
public IngressLoadBalancerStatusBuilder(IngressLoadBalancerStatusFluent> fluent,IngressLoadBalancerStatus instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public IngressLoadBalancerStatusBuilder(IngressLoadBalancerStatus instance) {
this.fluent = this;
this.copyInstance(instance);
}
IngressLoadBalancerStatusFluent> fluent;
public IngressLoadBalancerStatus build() {
IngressLoadBalancerStatus buildable = new IngressLoadBalancerStatus(fluent.buildIngress());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}