com.pulumi.azure.network.outputs.GetVpnServerConfigurationRadius 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.azure.network.outputs.GetVpnServerConfigurationRadiusClientRootCertificate;
import com.pulumi.azure.network.outputs.GetVpnServerConfigurationRadiusServer;
import com.pulumi.azure.network.outputs.GetVpnServerConfigurationRadiusServerRootCertificate;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetVpnServerConfigurationRadius {
/**
* @return One or more `client_root_certificate` blocks as defined below.
*
*/
private List clientRootCertificates;
/**
* @return One or more `server_root_certificate` blocks as defined below.
*
*/
private List serverRootCertificates;
/**
* @return One or more `server` blocks as defined below.
*
*/
private List servers;
private GetVpnServerConfigurationRadius() {}
/**
* @return One or more `client_root_certificate` blocks as defined below.
*
*/
public List clientRootCertificates() {
return this.clientRootCertificates;
}
/**
* @return One or more `server_root_certificate` blocks as defined below.
*
*/
public List serverRootCertificates() {
return this.serverRootCertificates;
}
/**
* @return One or more `server` blocks as defined below.
*
*/
public List servers() {
return this.servers;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVpnServerConfigurationRadius defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List clientRootCertificates;
private List serverRootCertificates;
private List servers;
public Builder() {}
public Builder(GetVpnServerConfigurationRadius defaults) {
Objects.requireNonNull(defaults);
this.clientRootCertificates = defaults.clientRootCertificates;
this.serverRootCertificates = defaults.serverRootCertificates;
this.servers = defaults.servers;
}
@CustomType.Setter
public Builder clientRootCertificates(List clientRootCertificates) {
if (clientRootCertificates == null) {
throw new MissingRequiredPropertyException("GetVpnServerConfigurationRadius", "clientRootCertificates");
}
this.clientRootCertificates = clientRootCertificates;
return this;
}
public Builder clientRootCertificates(GetVpnServerConfigurationRadiusClientRootCertificate... clientRootCertificates) {
return clientRootCertificates(List.of(clientRootCertificates));
}
@CustomType.Setter
public Builder serverRootCertificates(List serverRootCertificates) {
if (serverRootCertificates == null) {
throw new MissingRequiredPropertyException("GetVpnServerConfigurationRadius", "serverRootCertificates");
}
this.serverRootCertificates = serverRootCertificates;
return this;
}
public Builder serverRootCertificates(GetVpnServerConfigurationRadiusServerRootCertificate... serverRootCertificates) {
return serverRootCertificates(List.of(serverRootCertificates));
}
@CustomType.Setter
public Builder servers(List servers) {
if (servers == null) {
throw new MissingRequiredPropertyException("GetVpnServerConfigurationRadius", "servers");
}
this.servers = servers;
return this;
}
public Builder servers(GetVpnServerConfigurationRadiusServer... servers) {
return servers(List.of(servers));
}
public GetVpnServerConfigurationRadius build() {
final var _resultValue = new GetVpnServerConfigurationRadius();
_resultValue.clientRootCertificates = clientRootCertificates;
_resultValue.serverRootCertificates = serverRootCertificates;
_resultValue.servers = servers;
return _resultValue;
}
}
}