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

com.pulumi.azurenative.kusto.inputs.LanguageExtensionArgs 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.kusto.inputs;

import com.pulumi.azurenative.kusto.enums.LanguageExtensionImageName;
import com.pulumi.azurenative.kusto.enums.LanguageExtensionName;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The language extension object.
 * 
 */
public final class LanguageExtensionArgs extends com.pulumi.resources.ResourceArgs {

    public static final LanguageExtensionArgs Empty = new LanguageExtensionArgs();

    /**
     * The language extension image name.
     * 
     */
    @Import(name="languageExtensionImageName")
    private @Nullable Output> languageExtensionImageName;

    /**
     * @return The language extension image name.
     * 
     */
    public Optional>> languageExtensionImageName() {
        return Optional.ofNullable(this.languageExtensionImageName);
    }

    /**
     * The language extension name.
     * 
     */
    @Import(name="languageExtensionName")
    private @Nullable Output> languageExtensionName;

    /**
     * @return The language extension name.
     * 
     */
    public Optional>> languageExtensionName() {
        return Optional.ofNullable(this.languageExtensionName);
    }

    private LanguageExtensionArgs() {}

    private LanguageExtensionArgs(LanguageExtensionArgs $) {
        this.languageExtensionImageName = $.languageExtensionImageName;
        this.languageExtensionName = $.languageExtensionName;
    }

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

    public static final class Builder {
        private LanguageExtensionArgs $;

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

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

        /**
         * @param languageExtensionImageName The language extension image name.
         * 
         * @return builder
         * 
         */
        public Builder languageExtensionImageName(@Nullable Output> languageExtensionImageName) {
            $.languageExtensionImageName = languageExtensionImageName;
            return this;
        }

        /**
         * @param languageExtensionImageName The language extension image name.
         * 
         * @return builder
         * 
         */
        public Builder languageExtensionImageName(Either languageExtensionImageName) {
            return languageExtensionImageName(Output.of(languageExtensionImageName));
        }

        /**
         * @param languageExtensionImageName The language extension image name.
         * 
         * @return builder
         * 
         */
        public Builder languageExtensionImageName(String languageExtensionImageName) {
            return languageExtensionImageName(Either.ofLeft(languageExtensionImageName));
        }

        /**
         * @param languageExtensionImageName The language extension image name.
         * 
         * @return builder
         * 
         */
        public Builder languageExtensionImageName(LanguageExtensionImageName languageExtensionImageName) {
            return languageExtensionImageName(Either.ofRight(languageExtensionImageName));
        }

        /**
         * @param languageExtensionName The language extension name.
         * 
         * @return builder
         * 
         */
        public Builder languageExtensionName(@Nullable Output> languageExtensionName) {
            $.languageExtensionName = languageExtensionName;
            return this;
        }

        /**
         * @param languageExtensionName The language extension name.
         * 
         * @return builder
         * 
         */
        public Builder languageExtensionName(Either languageExtensionName) {
            return languageExtensionName(Output.of(languageExtensionName));
        }

        /**
         * @param languageExtensionName The language extension name.
         * 
         * @return builder
         * 
         */
        public Builder languageExtensionName(String languageExtensionName) {
            return languageExtensionName(Either.ofLeft(languageExtensionName));
        }

        /**
         * @param languageExtensionName The language extension name.
         * 
         * @return builder
         * 
         */
        public Builder languageExtensionName(LanguageExtensionName languageExtensionName) {
            return languageExtensionName(Either.ofRight(languageExtensionName));
        }

        public LanguageExtensionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy