// SPDX-License-Identifier: Apache-2.0
import { AddRepoOptions } from './add-repo-options.js';
/**
 * Builder for AddRepoOptions for helm repo add command.
 */
export class AddRepoOptionsBuilder {
    _forceUpdate = false;
    /**
     * Set whether to use --force-update.
     * @param forceUpdate If true, adds --force-update to the command.
     * @returns this builder
     */
    forceUpdate(forceUpdate) {
        this._forceUpdate = forceUpdate;
        return this;
    }
    /**
     * Build the AddRepoOptions instance.
     */
    build() {
        return new AddRepoOptions(this._forceUpdate);
    }
}
//# sourceMappingURL=add-repo-options-builder.js.map