// SPDX-License-Identifier: Apache-2.0
import { ExportLogsOptions } from './export-logs-options.js';
export class ExportLogsOptionsBuilder {
    _name;
    constructor(_name) {
        this._name = _name;
    }
    static builder() {
        return new ExportLogsOptionsBuilder();
    }
    /**
     * Set the name of the cluster (default "kind").
     * @param name
     */
    name(name) {
        this._name = name;
        return this;
    }
    /**
     * Build the ExportLogsOptions instance.
     */
    build() {
        return new ExportLogsOptions(this._name);
    }
    static from(options) {
        if (!options) {
            return new ExportLogsOptionsBuilder();
        }
        return new ExportLogsOptionsBuilder(options.name);
    }
}
//# sourceMappingURL=export-logs-options-builder.js.map