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

com.pulumi.alicloud.emr.inputs.GetMainVersionsArgs 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.emr.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetMainVersionsArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetMainVersionsArgs Empty = new GetMainVersionsArgs();

    /**
     * The supported clusterType of this emr version.
     * Possible values may be any one or combination of these: ["HADOOP", "DRUID", "KAFKA", "ZOOKEEPER", "FLINK", "CLICKHOUSE"]
     * 
     */
    @Import(name="clusterTypes")
    private @Nullable Output> clusterTypes;

    /**
     * @return The supported clusterType of this emr version.
     * Possible values may be any one or combination of these: ["HADOOP", "DRUID", "KAFKA", "ZOOKEEPER", "FLINK", "CLICKHOUSE"]
     * 
     */
    public Optional>> clusterTypes() {
        return Optional.ofNullable(this.clusterTypes);
    }

    /**
     * The version of the emr cluster instance. Possible values: `EMR-4.0.0`, `EMR-3.23.0`, `EMR-3.22.0`.
     * 
     */
    @Import(name="emrVersion")
    private @Nullable Output emrVersion;

    /**
     * @return The version of the emr cluster instance. Possible values: `EMR-4.0.0`, `EMR-3.23.0`, `EMR-3.22.0`.
     * 
     */
    public Optional> emrVersion() {
        return Optional.ofNullable(this.emrVersion);
    }

    /**
     * File name where to save data source results (after running `pulumi preview`).
     * 
     */
    @Import(name="outputFile")
    private @Nullable Output outputFile;

    /**
     * @return File name where to save data source results (after running `pulumi preview`).
     * 
     */
    public Optional> outputFile() {
        return Optional.ofNullable(this.outputFile);
    }

    private GetMainVersionsArgs() {}

    private GetMainVersionsArgs(GetMainVersionsArgs $) {
        this.clusterTypes = $.clusterTypes;
        this.emrVersion = $.emrVersion;
        this.outputFile = $.outputFile;
    }

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

    public static final class Builder {
        private GetMainVersionsArgs $;

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

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

        /**
         * @param clusterTypes The supported clusterType of this emr version.
         * Possible values may be any one or combination of these: ["HADOOP", "DRUID", "KAFKA", "ZOOKEEPER", "FLINK", "CLICKHOUSE"]
         * 
         * @return builder
         * 
         */
        public Builder clusterTypes(@Nullable Output> clusterTypes) {
            $.clusterTypes = clusterTypes;
            return this;
        }

        /**
         * @param clusterTypes The supported clusterType of this emr version.
         * Possible values may be any one or combination of these: ["HADOOP", "DRUID", "KAFKA", "ZOOKEEPER", "FLINK", "CLICKHOUSE"]
         * 
         * @return builder
         * 
         */
        public Builder clusterTypes(List clusterTypes) {
            return clusterTypes(Output.of(clusterTypes));
        }

        /**
         * @param clusterTypes The supported clusterType of this emr version.
         * Possible values may be any one or combination of these: ["HADOOP", "DRUID", "KAFKA", "ZOOKEEPER", "FLINK", "CLICKHOUSE"]
         * 
         * @return builder
         * 
         */
        public Builder clusterTypes(String... clusterTypes) {
            return clusterTypes(List.of(clusterTypes));
        }

        /**
         * @param emrVersion The version of the emr cluster instance. Possible values: `EMR-4.0.0`, `EMR-3.23.0`, `EMR-3.22.0`.
         * 
         * @return builder
         * 
         */
        public Builder emrVersion(@Nullable Output emrVersion) {
            $.emrVersion = emrVersion;
            return this;
        }

        /**
         * @param emrVersion The version of the emr cluster instance. Possible values: `EMR-4.0.0`, `EMR-3.23.0`, `EMR-3.22.0`.
         * 
         * @return builder
         * 
         */
        public Builder emrVersion(String emrVersion) {
            return emrVersion(Output.of(emrVersion));
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(@Nullable Output outputFile) {
            $.outputFile = outputFile;
            return this;
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(String outputFile) {
            return outputFile(Output.of(outputFile));
        }

        public GetMainVersionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy