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

com.pulumi.libvirt.inputs.GetNetworkDnsmasqOptionsTemplateArgs Maven / Gradle / Ivy

There is a newer version: 0.6.0-alpha.1727280169
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.libvirt.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetNetworkDnsmasqOptionsTemplateArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetNetworkDnsmasqOptionsTemplateArgs Empty = new GetNetworkDnsmasqOptionsTemplateArgs();

    @Import(name="optionName", required=true)
    private Output optionName;

    public Output optionName() {
        return this.optionName;
    }

    @Import(name="optionValue")
    private @Nullable Output optionValue;

    public Optional> optionValue() {
        return Optional.ofNullable(this.optionValue);
    }

    private GetNetworkDnsmasqOptionsTemplateArgs() {}

    private GetNetworkDnsmasqOptionsTemplateArgs(GetNetworkDnsmasqOptionsTemplateArgs $) {
        this.optionName = $.optionName;
        this.optionValue = $.optionValue;
    }

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

    public static final class Builder {
        private GetNetworkDnsmasqOptionsTemplateArgs $;

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

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

        public Builder optionName(Output optionName) {
            $.optionName = optionName;
            return this;
        }

        public Builder optionName(String optionName) {
            return optionName(Output.of(optionName));
        }

        public Builder optionValue(@Nullable Output optionValue) {
            $.optionValue = optionValue;
            return this;
        }

        public Builder optionValue(String optionValue) {
            return optionValue(Output.of(optionValue));
        }

        public GetNetworkDnsmasqOptionsTemplateArgs build() {
            if ($.optionName == null) {
                throw new MissingRequiredPropertyException("GetNetworkDnsmasqOptionsTemplateArgs", "optionName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy