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

com.pulumi.alicloud.vpc.outputs.GetSslVpnClientCertsResult Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.vpc.outputs;

import com.pulumi.alicloud.vpc.outputs.GetSslVpnClientCertsCert;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetSslVpnClientCertsResult {
    /**
     * @return A list of SSL-VPN client certificates. Each element contains the following attributes:
     * 
     */
    private List certs;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return A list of SSL-VPN client cert IDs.
     * 
     */
    private List ids;
    private @Nullable String nameRegex;
    /**
     * @return A list of SSL-VPN client cert names.
     * 
     */
    private List names;
    private @Nullable String outputFile;
    /**
     * @return ID of the SSL-VPN Server.
     * 
     */
    private @Nullable String sslVpnServerId;

    private GetSslVpnClientCertsResult() {}
    /**
     * @return A list of SSL-VPN client certificates. Each element contains the following attributes:
     * 
     */
    public List certs() {
        return this.certs;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A list of SSL-VPN client cert IDs.
     * 
     */
    public List ids() {
        return this.ids;
    }
    public Optional nameRegex() {
        return Optional.ofNullable(this.nameRegex);
    }
    /**
     * @return A list of SSL-VPN client cert names.
     * 
     */
    public List names() {
        return this.names;
    }
    public Optional outputFile() {
        return Optional.ofNullable(this.outputFile);
    }
    /**
     * @return ID of the SSL-VPN Server.
     * 
     */
    public Optional sslVpnServerId() {
        return Optional.ofNullable(this.sslVpnServerId);
    }

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

    public static Builder builder(GetSslVpnClientCertsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List certs;
        private String id;
        private List ids;
        private @Nullable String nameRegex;
        private List names;
        private @Nullable String outputFile;
        private @Nullable String sslVpnServerId;
        public Builder() {}
        public Builder(GetSslVpnClientCertsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.certs = defaults.certs;
    	      this.id = defaults.id;
    	      this.ids = defaults.ids;
    	      this.nameRegex = defaults.nameRegex;
    	      this.names = defaults.names;
    	      this.outputFile = defaults.outputFile;
    	      this.sslVpnServerId = defaults.sslVpnServerId;
        }

        @CustomType.Setter
        public Builder certs(List certs) {
            if (certs == null) {
              throw new MissingRequiredPropertyException("GetSslVpnClientCertsResult", "certs");
            }
            this.certs = certs;
            return this;
        }
        public Builder certs(GetSslVpnClientCertsCert... certs) {
            return certs(List.of(certs));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetSslVpnClientCertsResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ids(List ids) {
            if (ids == null) {
              throw new MissingRequiredPropertyException("GetSslVpnClientCertsResult", "ids");
            }
            this.ids = ids;
            return this;
        }
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }
        @CustomType.Setter
        public Builder nameRegex(@Nullable String nameRegex) {

            this.nameRegex = nameRegex;
            return this;
        }
        @CustomType.Setter
        public Builder names(List names) {
            if (names == null) {
              throw new MissingRequiredPropertyException("GetSslVpnClientCertsResult", "names");
            }
            this.names = names;
            return this;
        }
        public Builder names(String... names) {
            return names(List.of(names));
        }
        @CustomType.Setter
        public Builder outputFile(@Nullable String outputFile) {

            this.outputFile = outputFile;
            return this;
        }
        @CustomType.Setter
        public Builder sslVpnServerId(@Nullable String sslVpnServerId) {

            this.sslVpnServerId = sslVpnServerId;
            return this;
        }
        public GetSslVpnClientCertsResult build() {
            final var _resultValue = new GetSslVpnClientCertsResult();
            _resultValue.certs = certs;
            _resultValue.id = id;
            _resultValue.ids = ids;
            _resultValue.nameRegex = nameRegex;
            _resultValue.names = names;
            _resultValue.outputFile = outputFile;
            _resultValue.sslVpnServerId = sslVpnServerId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy