// *** 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.azure.network.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class VpnServerConfigurationAzureActiveDirectoryAuthentication {
    /**
     * @return The Audience which should be used for authentication.
     * 
     */
    private String audience;
    /**
     * @return The Issuer which should be used for authentication.
     * 
     */
    private String issuer;
    /**
     * @return The Tenant which should be used for authentication.
     * 
     */
    private String tenant;

    private VpnServerConfigurationAzureActiveDirectoryAuthentication() {}
    /**
     * @return The Audience which should be used for authentication.
     * 
     */
    public String audience() {
        return this.audience;
    }
    /**
     * @return The Issuer which should be used for authentication.
     * 
     */
    public String issuer() {
        return this.issuer;
    }
    /**
     * @return The Tenant which should be used for authentication.
     * 
     */
    public String tenant() {
        return this.tenant;
    }

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

    public static Builder builder(VpnServerConfigurationAzureActiveDirectoryAuthentication defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String audience;
        private String issuer;
        private String tenant;
        public Builder() {}
        public Builder(VpnServerConfigurationAzureActiveDirectoryAuthentication defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.audience = defaults.audience;
    	      this.issuer = defaults.issuer;
    	      this.tenant = defaults.tenant;
        }

        @CustomType.Setter
        public Builder audience(String audience) {
            this.audience = Objects.requireNonNull(audience);
            return this;
        }
        @CustomType.Setter
        public Builder issuer(String issuer) {
            this.issuer = Objects.requireNonNull(issuer);
            return this;
        }
        @CustomType.Setter
        public Builder tenant(String tenant) {
            this.tenant = Objects.requireNonNull(tenant);
            return this;
        }
        public VpnServerConfigurationAzureActiveDirectoryAuthentication build() {
            final var o = new VpnServerConfigurationAzureActiveDirectoryAuthentication();
            o.audience = audience;
            o.issuer = issuer;
            o.tenant = tenant;
            return o;
        }
    }
}
