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

com.pulumi.libvirt.outputs.GetNetworkDnsHostTemplateResult 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetNetworkDnsHostTemplateResult {
    private String hostname;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String ip;
    private Map rendered;

    private GetNetworkDnsHostTemplateResult() {}
    public String hostname() {
        return this.hostname;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String ip() {
        return this.ip;
    }
    public Map rendered() {
        return this.rendered;
    }

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

    public static Builder builder(GetNetworkDnsHostTemplateResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String hostname;
        private String id;
        private String ip;
        private Map rendered;
        public Builder() {}
        public Builder(GetNetworkDnsHostTemplateResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.hostname = defaults.hostname;
    	      this.id = defaults.id;
    	      this.ip = defaults.ip;
    	      this.rendered = defaults.rendered;
        }

        @CustomType.Setter
        public Builder hostname(String hostname) {
            if (hostname == null) {
              throw new MissingRequiredPropertyException("GetNetworkDnsHostTemplateResult", "hostname");
            }
            this.hostname = hostname;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetNetworkDnsHostTemplateResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ip(String ip) {
            if (ip == null) {
              throw new MissingRequiredPropertyException("GetNetworkDnsHostTemplateResult", "ip");
            }
            this.ip = ip;
            return this;
        }
        @CustomType.Setter
        public Builder rendered(Map rendered) {
            if (rendered == null) {
              throw new MissingRequiredPropertyException("GetNetworkDnsHostTemplateResult", "rendered");
            }
            this.rendered = rendered;
            return this;
        }
        public GetNetworkDnsHostTemplateResult build() {
            final var _resultValue = new GetNetworkDnsHostTemplateResult();
            _resultValue.hostname = hostname;
            _resultValue.id = id;
            _resultValue.ip = ip;
            _resultValue.rendered = rendered;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy