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

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

There is a newer version: 0.6.0-alpha.1732600491
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.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 GetNetworkDnsmasqOptionsTemplatePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetNetworkDnsmasqOptionsTemplatePlainArgs Empty = new GetNetworkDnsmasqOptionsTemplatePlainArgs();

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

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

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

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

    private GetNetworkDnsmasqOptionsTemplatePlainArgs() {}

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

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

    public static final class Builder {
        private GetNetworkDnsmasqOptionsTemplatePlainArgs $;

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy