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

com.pulumi.azure.network.outputs.VpnServerConfigurationRadius Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.network.outputs;

import com.pulumi.azure.network.outputs.VpnServerConfigurationRadiusClientRootCertificate;
import com.pulumi.azure.network.outputs.VpnServerConfigurationRadiusServer;
import com.pulumi.azure.network.outputs.VpnServerConfigurationRadiusServerRootCertificate;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class VpnServerConfigurationRadius {
    /**
     * @return One or more `client_root_certificate` blocks as defined below.
     * 
     */
    private @Nullable List clientRootCertificates;
    /**
     * @return One or more `server_root_certificate` blocks as defined below.
     * 
     */
    private @Nullable List serverRootCertificates;
    /**
     * @return One or more `server` blocks as defined below.
     * 
     */
    private @Nullable List servers;

    private VpnServerConfigurationRadius() {}
    /**
     * @return One or more `client_root_certificate` blocks as defined below.
     * 
     */
    public List clientRootCertificates() {
        return this.clientRootCertificates == null ? List.of() : this.clientRootCertificates;
    }
    /**
     * @return One or more `server_root_certificate` blocks as defined below.
     * 
     */
    public List serverRootCertificates() {
        return this.serverRootCertificates == null ? List.of() : this.serverRootCertificates;
    }
    /**
     * @return One or more `server` blocks as defined below.
     * 
     */
    public List servers() {
        return this.servers == null ? List.of() : this.servers;
    }

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

    public static Builder builder(VpnServerConfigurationRadius defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List clientRootCertificates;
        private @Nullable List serverRootCertificates;
        private @Nullable List servers;
        public Builder() {}
        public Builder(VpnServerConfigurationRadius defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clientRootCertificates = defaults.clientRootCertificates;
    	      this.serverRootCertificates = defaults.serverRootCertificates;
    	      this.servers = defaults.servers;
        }

        @CustomType.Setter
        public Builder clientRootCertificates(@Nullable List clientRootCertificates) {

            this.clientRootCertificates = clientRootCertificates;
            return this;
        }
        public Builder clientRootCertificates(VpnServerConfigurationRadiusClientRootCertificate... clientRootCertificates) {
            return clientRootCertificates(List.of(clientRootCertificates));
        }
        @CustomType.Setter
        public Builder serverRootCertificates(@Nullable List serverRootCertificates) {

            this.serverRootCertificates = serverRootCertificates;
            return this;
        }
        public Builder serverRootCertificates(VpnServerConfigurationRadiusServerRootCertificate... serverRootCertificates) {
            return serverRootCertificates(List.of(serverRootCertificates));
        }
        @CustomType.Setter
        public Builder servers(@Nullable List servers) {

            this.servers = servers;
            return this;
        }
        public Builder servers(VpnServerConfigurationRadiusServer... servers) {
            return servers(List.of(servers));
        }
        public VpnServerConfigurationRadius build() {
            final var _resultValue = new VpnServerConfigurationRadius();
            _resultValue.clientRootCertificates = clientRootCertificates;
            _resultValue.serverRootCertificates = serverRootCertificates;
            _resultValue.servers = servers;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy