All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.resource.v1alpha2.inputs.VendorParametersPatchArgs Maven / Gradle / Ivy

There is a newer version: 4.19.0-alpha.1730750641
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.kubernetes.resource.v1alpha2.inputs;

import com.google.gson.JsonElement;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * VendorParameters are opaque parameters for one particular driver.
 * 
 */
public final class VendorParametersPatchArgs extends com.pulumi.resources.ResourceArgs {

    public static final VendorParametersPatchArgs Empty = new VendorParametersPatchArgs();

    /**
     * DriverName is the name used by the DRA driver kubelet plugin.
     * 
     */
    @Import(name="driverName")
    private @Nullable Output driverName;

    /**
     * @return DriverName is the name used by the DRA driver kubelet plugin.
     * 
     */
    public Optional> driverName() {
        return Optional.ofNullable(this.driverName);
    }

    /**
     * Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output parameters;

    /**
     * @return Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.
     * 
     */
    public Optional> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    private VendorParametersPatchArgs() {}

    private VendorParametersPatchArgs(VendorParametersPatchArgs $) {
        this.driverName = $.driverName;
        this.parameters = $.parameters;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(VendorParametersPatchArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private VendorParametersPatchArgs $;

        public Builder() {
            $ = new VendorParametersPatchArgs();
        }

        public Builder(VendorParametersPatchArgs defaults) {
            $ = new VendorParametersPatchArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param driverName DriverName is the name used by the DRA driver kubelet plugin.
         * 
         * @return builder
         * 
         */
        public Builder driverName(@Nullable Output driverName) {
            $.driverName = driverName;
            return this;
        }

        /**
         * @param driverName DriverName is the name used by the DRA driver kubelet plugin.
         * 
         * @return builder
         * 
         */
        public Builder driverName(String driverName) {
            return driverName(Output.of(driverName));
        }

        /**
         * @param parameters Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.
         * 
         * @return builder
         * 
         */
        public Builder parameters(JsonElement parameters) {
            return parameters(Output.of(parameters));
        }

        public VendorParametersPatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy