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

com.pulumi.azurenative.network.outputs.VirtualNetworkDnsForwardingRulesetResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.network.outputs;

import com.pulumi.azurenative.network.outputs.SubResourceResponse;
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 VirtualNetworkDnsForwardingRulesetResponse {
    /**
     * @return DNS Forwarding Ruleset Resource ID.
     * 
     */
    private @Nullable String id;
    /**
     * @return The reference to the virtual network link.
     * 
     */
    private @Nullable SubResourceResponse virtualNetworkLink;

    private VirtualNetworkDnsForwardingRulesetResponse() {}
    /**
     * @return DNS Forwarding Ruleset Resource ID.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return The reference to the virtual network link.
     * 
     */
    public Optional virtualNetworkLink() {
        return Optional.ofNullable(this.virtualNetworkLink);
    }

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

    public static Builder builder(VirtualNetworkDnsForwardingRulesetResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String id;
        private @Nullable SubResourceResponse virtualNetworkLink;
        public Builder() {}
        public Builder(VirtualNetworkDnsForwardingRulesetResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.virtualNetworkLink = defaults.virtualNetworkLink;
        }

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

            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder virtualNetworkLink(@Nullable SubResourceResponse virtualNetworkLink) {

            this.virtualNetworkLink = virtualNetworkLink;
            return this;
        }
        public VirtualNetworkDnsForwardingRulesetResponse build() {
            final var _resultValue = new VirtualNetworkDnsForwardingRulesetResponse();
            _resultValue.id = id;
            _resultValue.virtualNetworkLink = virtualNetworkLink;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy