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

com.pulumi.azurenative.synapse.inputs.SelfHostedIntegrationRuntimeArgs Maven / Gradle / Ivy

// *** 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.synapse.inputs;

import com.pulumi.azurenative.synapse.inputs.LinkedIntegrationRuntimeKeyAuthorizationArgs;
import com.pulumi.azurenative.synapse.inputs.LinkedIntegrationRuntimeRbacAuthorizationArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Self-hosted integration runtime.
 * 
 */
public final class SelfHostedIntegrationRuntimeArgs extends com.pulumi.resources.ResourceArgs {

    public static final SelfHostedIntegrationRuntimeArgs Empty = new SelfHostedIntegrationRuntimeArgs();

    /**
     * Integration runtime description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Integration runtime description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Linked integration runtime type from data factory
     * 
     */
    @Import(name="linkedInfo")
    private @Nullable Output> linkedInfo;

    /**
     * @return Linked integration runtime type from data factory
     * 
     */
    public Optional>> linkedInfo() {
        return Optional.ofNullable(this.linkedInfo);
    }

    /**
     * The type of integration runtime.
     * Expected value is 'SelfHosted'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The type of integration runtime.
     * Expected value is 'SelfHosted'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private SelfHostedIntegrationRuntimeArgs() {}

    private SelfHostedIntegrationRuntimeArgs(SelfHostedIntegrationRuntimeArgs $) {
        this.description = $.description;
        this.linkedInfo = $.linkedInfo;
        this.type = $.type;
    }

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

    public static final class Builder {
        private SelfHostedIntegrationRuntimeArgs $;

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

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

        /**
         * @param description Integration runtime description.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Integration runtime description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param linkedInfo Linked integration runtime type from data factory
         * 
         * @return builder
         * 
         */
        public Builder linkedInfo(@Nullable Output> linkedInfo) {
            $.linkedInfo = linkedInfo;
            return this;
        }

        /**
         * @param linkedInfo Linked integration runtime type from data factory
         * 
         * @return builder
         * 
         */
        public Builder linkedInfo(Either linkedInfo) {
            return linkedInfo(Output.of(linkedInfo));
        }

        /**
         * @param linkedInfo Linked integration runtime type from data factory
         * 
         * @return builder
         * 
         */
        public Builder linkedInfo(LinkedIntegrationRuntimeKeyAuthorizationArgs linkedInfo) {
            return linkedInfo(Either.ofLeft(linkedInfo));
        }

        /**
         * @param linkedInfo Linked integration runtime type from data factory
         * 
         * @return builder
         * 
         */
        public Builder linkedInfo(LinkedIntegrationRuntimeRbacAuthorizationArgs linkedInfo) {
            return linkedInfo(Either.ofRight(linkedInfo));
        }

        /**
         * @param type The type of integration runtime.
         * Expected value is 'SelfHosted'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of integration runtime.
         * Expected value is 'SelfHosted'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public SelfHostedIntegrationRuntimeArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy