com.pulumi.azure.network.outputs.GetVpnServerConfigurationAzureActiveDirectoryAuthentication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetVpnServerConfigurationAzureActiveDirectoryAuthentication {
/**
* @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 GetVpnServerConfigurationAzureActiveDirectoryAuthentication() {}
/**
* @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(GetVpnServerConfigurationAzureActiveDirectoryAuthentication 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(GetVpnServerConfigurationAzureActiveDirectoryAuthentication defaults) {
Objects.requireNonNull(defaults);
this.audience = defaults.audience;
this.issuer = defaults.issuer;
this.tenant = defaults.tenant;
}
@CustomType.Setter
public Builder audience(String audience) {
if (audience == null) {
throw new MissingRequiredPropertyException("GetVpnServerConfigurationAzureActiveDirectoryAuthentication", "audience");
}
this.audience = audience;
return this;
}
@CustomType.Setter
public Builder issuer(String issuer) {
if (issuer == null) {
throw new MissingRequiredPropertyException("GetVpnServerConfigurationAzureActiveDirectoryAuthentication", "issuer");
}
this.issuer = issuer;
return this;
}
@CustomType.Setter
public Builder tenant(String tenant) {
if (tenant == null) {
throw new MissingRequiredPropertyException("GetVpnServerConfigurationAzureActiveDirectoryAuthentication", "tenant");
}
this.tenant = tenant;
return this;
}
public GetVpnServerConfigurationAzureActiveDirectoryAuthentication build() {
final var _resultValue = new GetVpnServerConfigurationAzureActiveDirectoryAuthentication();
_resultValue.audience = audience;
_resultValue.issuer = issuer;
_resultValue.tenant = tenant;
return _resultValue;
}
}
}