com.pulumi.libvirt.inputs.GetNetworkDnsmasqOptionsTemplatePlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libvirt Show documentation
Show all versions of libvirt Show documentation
A Pulumi package for creating and managing libvirt cloud resources.
// *** 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 $;
}
}
}