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

com.pulumi.azurenative.datafactory.outputs.VerticaLinkedServiceResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.datafactory.outputs;

import com.pulumi.azurenative.datafactory.outputs.AzureKeyVaultSecretReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.IntegrationRuntimeReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.ParameterSpecificationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VerticaLinkedServiceResponse {
    /**
     * @return List of tags that can be used for describing the linked service.
     * 
     */
    private @Nullable List annotations;
    /**
     * @return The integration runtime reference.
     * 
     */
    private @Nullable IntegrationRuntimeReferenceResponse connectVia;
    /**
     * @return An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
     * 
     */
    private @Nullable Object connectionString;
    /**
     * @return Database name for connection. Type: string.
     * 
     */
    private @Nullable Object database;
    /**
     * @return Linked service description.
     * 
     */
    private @Nullable String description;
    /**
     * @return The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
     * 
     */
    private @Nullable String encryptedCredential;
    /**
     * @return Parameters for linked service.
     * 
     */
    private @Nullable Map parameters;
    /**
     * @return The port for the connection. Type: integer.
     * 
     */
    private @Nullable Object port;
    /**
     * @return The Azure key vault secret reference of password in connection string.
     * 
     */
    private @Nullable AzureKeyVaultSecretReferenceResponse pwd;
    /**
     * @return Server name for connection. Type: string.
     * 
     */
    private @Nullable Object server;
    /**
     * @return Type of linked service.
     * Expected value is 'Vertica'.
     * 
     */
    private String type;
    /**
     * @return Username for authentication. Type: string.
     * 
     */
    private @Nullable Object uid;
    /**
     * @return Version of the linked service.
     * 
     */
    private @Nullable String version;

    private VerticaLinkedServiceResponse() {}
    /**
     * @return List of tags that can be used for describing the linked service.
     * 
     */
    public List annotations() {
        return this.annotations == null ? List.of() : this.annotations;
    }
    /**
     * @return The integration runtime reference.
     * 
     */
    public Optional connectVia() {
        return Optional.ofNullable(this.connectVia);
    }
    /**
     * @return An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
     * 
     */
    public Optional connectionString() {
        return Optional.ofNullable(this.connectionString);
    }
    /**
     * @return Database name for connection. Type: string.
     * 
     */
    public Optional database() {
        return Optional.ofNullable(this.database);
    }
    /**
     * @return Linked service description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
     * 
     */
    public Optional encryptedCredential() {
        return Optional.ofNullable(this.encryptedCredential);
    }
    /**
     * @return Parameters for linked service.
     * 
     */
    public Map parameters() {
        return this.parameters == null ? Map.of() : this.parameters;
    }
    /**
     * @return The port for the connection. Type: integer.
     * 
     */
    public Optional port() {
        return Optional.ofNullable(this.port);
    }
    /**
     * @return The Azure key vault secret reference of password in connection string.
     * 
     */
    public Optional pwd() {
        return Optional.ofNullable(this.pwd);
    }
    /**
     * @return Server name for connection. Type: string.
     * 
     */
    public Optional server() {
        return Optional.ofNullable(this.server);
    }
    /**
     * @return Type of linked service.
     * Expected value is 'Vertica'.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Username for authentication. Type: string.
     * 
     */
    public Optional uid() {
        return Optional.ofNullable(this.uid);
    }
    /**
     * @return Version of the linked service.
     * 
     */
    public Optional version() {
        return Optional.ofNullable(this.version);
    }

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

    public static Builder builder(VerticaLinkedServiceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List annotations;
        private @Nullable IntegrationRuntimeReferenceResponse connectVia;
        private @Nullable Object connectionString;
        private @Nullable Object database;
        private @Nullable String description;
        private @Nullable String encryptedCredential;
        private @Nullable Map parameters;
        private @Nullable Object port;
        private @Nullable AzureKeyVaultSecretReferenceResponse pwd;
        private @Nullable Object server;
        private String type;
        private @Nullable Object uid;
        private @Nullable String version;
        public Builder() {}
        public Builder(VerticaLinkedServiceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.annotations = defaults.annotations;
    	      this.connectVia = defaults.connectVia;
    	      this.connectionString = defaults.connectionString;
    	      this.database = defaults.database;
    	      this.description = defaults.description;
    	      this.encryptedCredential = defaults.encryptedCredential;
    	      this.parameters = defaults.parameters;
    	      this.port = defaults.port;
    	      this.pwd = defaults.pwd;
    	      this.server = defaults.server;
    	      this.type = defaults.type;
    	      this.uid = defaults.uid;
    	      this.version = defaults.version;
        }

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

            this.annotations = annotations;
            return this;
        }
        public Builder annotations(Object... annotations) {
            return annotations(List.of(annotations));
        }
        @CustomType.Setter
        public Builder connectVia(@Nullable IntegrationRuntimeReferenceResponse connectVia) {

            this.connectVia = connectVia;
            return this;
        }
        @CustomType.Setter
        public Builder connectionString(@Nullable Object connectionString) {

            this.connectionString = connectionString;
            return this;
        }
        @CustomType.Setter
        public Builder database(@Nullable Object database) {

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

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

            this.encryptedCredential = encryptedCredential;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(@Nullable Map parameters) {

            this.parameters = parameters;
            return this;
        }
        @CustomType.Setter
        public Builder port(@Nullable Object port) {

            this.port = port;
            return this;
        }
        @CustomType.Setter
        public Builder pwd(@Nullable AzureKeyVaultSecretReferenceResponse pwd) {

            this.pwd = pwd;
            return this;
        }
        @CustomType.Setter
        public Builder server(@Nullable Object server) {

            this.server = server;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("VerticaLinkedServiceResponse", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder uid(@Nullable Object uid) {

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

            this.version = version;
            return this;
        }
        public VerticaLinkedServiceResponse build() {
            final var _resultValue = new VerticaLinkedServiceResponse();
            _resultValue.annotations = annotations;
            _resultValue.connectVia = connectVia;
            _resultValue.connectionString = connectionString;
            _resultValue.database = database;
            _resultValue.description = description;
            _resultValue.encryptedCredential = encryptedCredential;
            _resultValue.parameters = parameters;
            _resultValue.port = port;
            _resultValue.pwd = pwd;
            _resultValue.server = server;
            _resultValue.type = type;
            _resultValue.uid = uid;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}