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

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

There is a newer version: 2.82.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.RecordSetResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PrivateDnsZoneConfigResponse {
    /**
     * @return Name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    private @Nullable String name;
    /**
     * @return The resource id of the private dns zone.
     * 
     */
    private @Nullable String privateDnsZoneId;
    /**
     * @return A collection of information regarding a recordSet, holding information to identify private resources.
     * 
     */
    private List recordSets;

    private PrivateDnsZoneConfigResponse() {}
    /**
     * @return Name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The resource id of the private dns zone.
     * 
     */
    public Optional privateDnsZoneId() {
        return Optional.ofNullable(this.privateDnsZoneId);
    }
    /**
     * @return A collection of information regarding a recordSet, holding information to identify private resources.
     * 
     */
    public List recordSets() {
        return this.recordSets;
    }

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

    public static Builder builder(PrivateDnsZoneConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String name;
        private @Nullable String privateDnsZoneId;
        private List recordSets;
        public Builder() {}
        public Builder(PrivateDnsZoneConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.privateDnsZoneId = defaults.privateDnsZoneId;
    	      this.recordSets = defaults.recordSets;
        }

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

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

            this.privateDnsZoneId = privateDnsZoneId;
            return this;
        }
        @CustomType.Setter
        public Builder recordSets(List recordSets) {
            if (recordSets == null) {
              throw new MissingRequiredPropertyException("PrivateDnsZoneConfigResponse", "recordSets");
            }
            this.recordSets = recordSets;
            return this;
        }
        public Builder recordSets(RecordSetResponse... recordSets) {
            return recordSets(List.of(recordSets));
        }
        public PrivateDnsZoneConfigResponse build() {
            final var _resultValue = new PrivateDnsZoneConfigResponse();
            _resultValue.name = name;
            _resultValue.privateDnsZoneId = privateDnsZoneId;
            _resultValue.recordSets = recordSets;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy