io.fabric8.openshift.api.model.console.v1.ConsoleExternalLogLinkBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.console.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ConsoleExternalLogLinkBuilder extends ConsoleExternalLogLinkFluent implements VisitableBuilder{
public ConsoleExternalLogLinkBuilder() {
this(new ConsoleExternalLogLink());
}
public ConsoleExternalLogLinkBuilder(ConsoleExternalLogLinkFluent> fluent) {
this(fluent, new ConsoleExternalLogLink());
}
public ConsoleExternalLogLinkBuilder(ConsoleExternalLogLinkFluent> fluent,ConsoleExternalLogLink instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ConsoleExternalLogLinkBuilder(ConsoleExternalLogLink instance) {
this.fluent = this;
this.copyInstance(instance);
}
ConsoleExternalLogLinkFluent> fluent;
public ConsoleExternalLogLink build() {
ConsoleExternalLogLink buildable = new ConsoleExternalLogLink(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}