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

com.pulumi.azurenative.servicelinker.LinkerArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.servicelinker;

import com.pulumi.azurenative.servicelinker.enums.ClientType;
import com.pulumi.azurenative.servicelinker.inputs.AccessKeyInfoBaseArgs;
import com.pulumi.azurenative.servicelinker.inputs.AzureResourceArgs;
import com.pulumi.azurenative.servicelinker.inputs.ConfigurationInfoArgs;
import com.pulumi.azurenative.servicelinker.inputs.ConfluentBootstrapServerArgs;
import com.pulumi.azurenative.servicelinker.inputs.ConfluentSchemaRegistryArgs;
import com.pulumi.azurenative.servicelinker.inputs.PublicNetworkSolutionArgs;
import com.pulumi.azurenative.servicelinker.inputs.SecretAuthInfoArgs;
import com.pulumi.azurenative.servicelinker.inputs.SecretStoreArgs;
import com.pulumi.azurenative.servicelinker.inputs.SelfHostedServerArgs;
import com.pulumi.azurenative.servicelinker.inputs.ServicePrincipalCertificateAuthInfoArgs;
import com.pulumi.azurenative.servicelinker.inputs.ServicePrincipalSecretAuthInfoArgs;
import com.pulumi.azurenative.servicelinker.inputs.SystemAssignedIdentityAuthInfoArgs;
import com.pulumi.azurenative.servicelinker.inputs.UserAccountAuthInfoArgs;
import com.pulumi.azurenative.servicelinker.inputs.UserAssignedIdentityAuthInfoArgs;
import com.pulumi.azurenative.servicelinker.inputs.VNetSolutionArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class LinkerArgs extends com.pulumi.resources.ResourceArgs {

    public static final LinkerArgs Empty = new LinkerArgs();

    /**
     * The authentication type.
     * 
     */
    @Import(name="authInfo")
    private @Nullable Output authInfo;

    /**
     * @return The authentication type.
     * 
     */
    public Optional> authInfo() {
        return Optional.ofNullable(this.authInfo);
    }

    /**
     * The application client type
     * 
     */
    @Import(name="clientType")
    private @Nullable Output> clientType;

    /**
     * @return The application client type
     * 
     */
    public Optional>> clientType() {
        return Optional.ofNullable(this.clientType);
    }

    /**
     * The connection information consumed by applications, including secrets, connection strings.
     * 
     */
    @Import(name="configurationInfo")
    private @Nullable Output configurationInfo;

    /**
     * @return The connection information consumed by applications, including secrets, connection strings.
     * 
     */
    public Optional> configurationInfo() {
        return Optional.ofNullable(this.configurationInfo);
    }

    /**
     * The name Linker resource.
     * 
     */
    @Import(name="linkerName")
    private @Nullable Output linkerName;

    /**
     * @return The name Linker resource.
     * 
     */
    public Optional> linkerName() {
        return Optional.ofNullable(this.linkerName);
    }

    /**
     * The network solution.
     * 
     */
    @Import(name="publicNetworkSolution")
    private @Nullable Output publicNetworkSolution;

    /**
     * @return The network solution.
     * 
     */
    public Optional> publicNetworkSolution() {
        return Optional.ofNullable(this.publicNetworkSolution);
    }

    /**
     * The fully qualified Azure Resource manager identifier of the resource to be connected.
     * 
     */
    @Import(name="resourceUri", required=true)
    private Output resourceUri;

    /**
     * @return The fully qualified Azure Resource manager identifier of the resource to be connected.
     * 
     */
    public Output resourceUri() {
        return this.resourceUri;
    }

    /**
     * connection scope in source service.
     * 
     */
    @Import(name="scope")
    private @Nullable Output scope;

    /**
     * @return connection scope in source service.
     * 
     */
    public Optional> scope() {
        return Optional.ofNullable(this.scope);
    }

    /**
     * An option to store secret value in secure place
     * 
     */
    @Import(name="secretStore")
    private @Nullable Output secretStore;

    /**
     * @return An option to store secret value in secure place
     * 
     */
    public Optional> secretStore() {
        return Optional.ofNullable(this.secretStore);
    }

    /**
     * The target service properties
     * 
     */
    @Import(name="targetService")
    private @Nullable Output targetService;

    /**
     * @return The target service properties
     * 
     */
    public Optional> targetService() {
        return Optional.ofNullable(this.targetService);
    }

    /**
     * The VNet solution.
     * 
     */
    @Import(name="vNetSolution")
    private @Nullable Output vNetSolution;

    /**
     * @return The VNet solution.
     * 
     */
    public Optional> vNetSolution() {
        return Optional.ofNullable(this.vNetSolution);
    }

    private LinkerArgs() {}

    private LinkerArgs(LinkerArgs $) {
        this.authInfo = $.authInfo;
        this.clientType = $.clientType;
        this.configurationInfo = $.configurationInfo;
        this.linkerName = $.linkerName;
        this.publicNetworkSolution = $.publicNetworkSolution;
        this.resourceUri = $.resourceUri;
        this.scope = $.scope;
        this.secretStore = $.secretStore;
        this.targetService = $.targetService;
        this.vNetSolution = $.vNetSolution;
    }

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

    public static final class Builder {
        private LinkerArgs $;

        public Builder() {
            $ = new LinkerArgs();
        }

        public Builder(LinkerArgs defaults) {
            $ = new LinkerArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param authInfo The authentication type.
         * 
         * @return builder
         * 
         */
        public Builder authInfo(@Nullable Output authInfo) {
            $.authInfo = authInfo;
            return this;
        }

        /**
         * @param authInfo The authentication type.
         * 
         * @return builder
         * 
         */
        public Builder authInfo(Object authInfo) {
            return authInfo(Output.of(authInfo));
        }

        /**
         * @param clientType The application client type
         * 
         * @return builder
         * 
         */
        public Builder clientType(@Nullable Output> clientType) {
            $.clientType = clientType;
            return this;
        }

        /**
         * @param clientType The application client type
         * 
         * @return builder
         * 
         */
        public Builder clientType(Either clientType) {
            return clientType(Output.of(clientType));
        }

        /**
         * @param clientType The application client type
         * 
         * @return builder
         * 
         */
        public Builder clientType(String clientType) {
            return clientType(Either.ofLeft(clientType));
        }

        /**
         * @param clientType The application client type
         * 
         * @return builder
         * 
         */
        public Builder clientType(ClientType clientType) {
            return clientType(Either.ofRight(clientType));
        }

        /**
         * @param configurationInfo The connection information consumed by applications, including secrets, connection strings.
         * 
         * @return builder
         * 
         */
        public Builder configurationInfo(@Nullable Output configurationInfo) {
            $.configurationInfo = configurationInfo;
            return this;
        }

        /**
         * @param configurationInfo The connection information consumed by applications, including secrets, connection strings.
         * 
         * @return builder
         * 
         */
        public Builder configurationInfo(ConfigurationInfoArgs configurationInfo) {
            return configurationInfo(Output.of(configurationInfo));
        }

        /**
         * @param linkerName The name Linker resource.
         * 
         * @return builder
         * 
         */
        public Builder linkerName(@Nullable Output linkerName) {
            $.linkerName = linkerName;
            return this;
        }

        /**
         * @param linkerName The name Linker resource.
         * 
         * @return builder
         * 
         */
        public Builder linkerName(String linkerName) {
            return linkerName(Output.of(linkerName));
        }

        /**
         * @param publicNetworkSolution The network solution.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkSolution(@Nullable Output publicNetworkSolution) {
            $.publicNetworkSolution = publicNetworkSolution;
            return this;
        }

        /**
         * @param publicNetworkSolution The network solution.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkSolution(PublicNetworkSolutionArgs publicNetworkSolution) {
            return publicNetworkSolution(Output.of(publicNetworkSolution));
        }

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(Output resourceUri) {
            $.resourceUri = resourceUri;
            return this;
        }

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(String resourceUri) {
            return resourceUri(Output.of(resourceUri));
        }

        /**
         * @param scope connection scope in source service.
         * 
         * @return builder
         * 
         */
        public Builder scope(@Nullable Output scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param scope connection scope in source service.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            return scope(Output.of(scope));
        }

        /**
         * @param secretStore An option to store secret value in secure place
         * 
         * @return builder
         * 
         */
        public Builder secretStore(@Nullable Output secretStore) {
            $.secretStore = secretStore;
            return this;
        }

        /**
         * @param secretStore An option to store secret value in secure place
         * 
         * @return builder
         * 
         */
        public Builder secretStore(SecretStoreArgs secretStore) {
            return secretStore(Output.of(secretStore));
        }

        /**
         * @param targetService The target service properties
         * 
         * @return builder
         * 
         */
        public Builder targetService(@Nullable Output targetService) {
            $.targetService = targetService;
            return this;
        }

        /**
         * @param targetService The target service properties
         * 
         * @return builder
         * 
         */
        public Builder targetService(Object targetService) {
            return targetService(Output.of(targetService));
        }

        /**
         * @param vNetSolution The VNet solution.
         * 
         * @return builder
         * 
         */
        public Builder vNetSolution(@Nullable Output vNetSolution) {
            $.vNetSolution = vNetSolution;
            return this;
        }

        /**
         * @param vNetSolution The VNet solution.
         * 
         * @return builder
         * 
         */
        public Builder vNetSolution(VNetSolutionArgs vNetSolution) {
            return vNetSolution(Output.of(vNetSolution));
        }

        public LinkerArgs build() {
            if ($.resourceUri == null) {
                throw new MissingRequiredPropertyException("LinkerArgs", "resourceUri");
            }
            return $;
        }
    }

}