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

com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClaimConfigurationPatchArgs Maven / Gradle / Ivy

There is a newer version: 4.19.0
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.v1alpha3.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.kubernetes.resource.v1alpha3.inputs.OpaqueDeviceConfigurationPatchArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
 * 
 */
public final class DeviceClaimConfigurationPatchArgs extends com.pulumi.resources.ResourceArgs {

    public static final DeviceClaimConfigurationPatchArgs Empty = new DeviceClaimConfigurationPatchArgs();

    /**
     * Opaque provides driver-specific configuration parameters.
     * 
     */
    @Import(name="opaque")
    private @Nullable Output opaque;

    /**
     * @return Opaque provides driver-specific configuration parameters.
     * 
     */
    public Optional> opaque() {
        return Optional.ofNullable(this.opaque);
    }

    /**
     * Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
     * 
     */
    @Import(name="requests")
    private @Nullable Output> requests;

    /**
     * @return Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
     * 
     */
    public Optional>> requests() {
        return Optional.ofNullable(this.requests);
    }

    private DeviceClaimConfigurationPatchArgs() {}

    private DeviceClaimConfigurationPatchArgs(DeviceClaimConfigurationPatchArgs $) {
        this.opaque = $.opaque;
        this.requests = $.requests;
    }

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

    public static final class Builder {
        private DeviceClaimConfigurationPatchArgs $;

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

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

        /**
         * @param opaque Opaque provides driver-specific configuration parameters.
         * 
         * @return builder
         * 
         */
        public Builder opaque(@Nullable Output opaque) {
            $.opaque = opaque;
            return this;
        }

        /**
         * @param opaque Opaque provides driver-specific configuration parameters.
         * 
         * @return builder
         * 
         */
        public Builder opaque(OpaqueDeviceConfigurationPatchArgs opaque) {
            return opaque(Output.of(opaque));
        }

        /**
         * @param requests Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
         * 
         * @return builder
         * 
         */
        public Builder requests(@Nullable Output> requests) {
            $.requests = requests;
            return this;
        }

        /**
         * @param requests Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
         * 
         * @return builder
         * 
         */
        public Builder requests(List requests) {
            return requests(Output.of(requests));
        }

        /**
         * @param requests Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
         * 
         * @return builder
         * 
         */
        public Builder requests(String... requests) {
            return requests(List.of(requests));
        }

        public DeviceClaimConfigurationPatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy