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

com.pulumi.azurenative.azurearcdata.outputs.ActiveDirectoryConnectorSpecResponse Maven / Gradle / Ivy

The 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.azurearcdata.outputs;

import com.pulumi.azurenative.azurearcdata.outputs.ActiveDirectoryConnectorDNSDetailsResponse;
import com.pulumi.azurenative.azurearcdata.outputs.ActiveDirectoryConnectorDomainDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;

@CustomType
public final class ActiveDirectoryConnectorSpecResponse {
    /**
     * @return null
     * 
     */
    private ActiveDirectoryConnectorDomainDetailsResponse activeDirectory;
    /**
     * @return null
     * 
     */
    private ActiveDirectoryConnectorDNSDetailsResponse dns;

    private ActiveDirectoryConnectorSpecResponse() {}
    /**
     * @return null
     * 
     */
    public ActiveDirectoryConnectorDomainDetailsResponse activeDirectory() {
        return this.activeDirectory;
    }
    /**
     * @return null
     * 
     */
    public ActiveDirectoryConnectorDNSDetailsResponse dns() {
        return this.dns;
    }

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

    public static Builder builder(ActiveDirectoryConnectorSpecResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private ActiveDirectoryConnectorDomainDetailsResponse activeDirectory;
        private ActiveDirectoryConnectorDNSDetailsResponse dns;
        public Builder() {}
        public Builder(ActiveDirectoryConnectorSpecResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.activeDirectory = defaults.activeDirectory;
    	      this.dns = defaults.dns;
        }

        @CustomType.Setter
        public Builder activeDirectory(ActiveDirectoryConnectorDomainDetailsResponse activeDirectory) {
            if (activeDirectory == null) {
              throw new MissingRequiredPropertyException("ActiveDirectoryConnectorSpecResponse", "activeDirectory");
            }
            this.activeDirectory = activeDirectory;
            return this;
        }
        @CustomType.Setter
        public Builder dns(ActiveDirectoryConnectorDNSDetailsResponse dns) {
            if (dns == null) {
              throw new MissingRequiredPropertyException("ActiveDirectoryConnectorSpecResponse", "dns");
            }
            this.dns = dns;
            return this;
        }
        public ActiveDirectoryConnectorSpecResponse build() {
            final var _resultValue = new ActiveDirectoryConnectorSpecResponse();
            _resultValue.activeDirectory = activeDirectory;
            _resultValue.dns = dns;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy