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

com.pulumi.libvirt.outputs.NetworkDnsForwarder 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class NetworkDnsForwarder {
    private @Nullable String address;
    /**
     * @return The domain used by the DNS server.
     * 
     */
    private @Nullable String domain;

    private NetworkDnsForwarder() {}
    public Optional address() {
        return Optional.ofNullable(this.address);
    }
    /**
     * @return The domain used by the DNS server.
     * 
     */
    public Optional domain() {
        return Optional.ofNullable(this.domain);
    }

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

    public static Builder builder(NetworkDnsForwarder defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String address;
        private @Nullable String domain;
        public Builder() {}
        public Builder(NetworkDnsForwarder defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.address = defaults.address;
    	      this.domain = defaults.domain;
        }

        @CustomType.Setter
        public Builder address(@Nullable String address) {

            this.address = address;
            return this;
        }
        @CustomType.Setter
        public Builder domain(@Nullable String domain) {

            this.domain = domain;
            return this;
        }
        public NetworkDnsForwarder build() {
            final var _resultValue = new NetworkDnsForwarder();
            _resultValue.address = address;
            _resultValue.domain = domain;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy