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

com.pulumi.googlenative.notebooks.v1.inputs.DataprocParametersArgs 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.googlenative.notebooks.v1.inputs;

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;


/**
 * Parameters used in Dataproc JobType executions.
 * 
 */
public final class DataprocParametersArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataprocParametersArgs Empty = new DataprocParametersArgs();

    /**
     * URI for cluster used to run Dataproc execution. Format: `projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}`
     * 
     */
    @Import(name="cluster")
    private @Nullable Output cluster;

    /**
     * @return URI for cluster used to run Dataproc execution. Format: `projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}`
     * 
     */
    public Optional> cluster() {
        return Optional.ofNullable(this.cluster);
    }

    private DataprocParametersArgs() {}

    private DataprocParametersArgs(DataprocParametersArgs $) {
        this.cluster = $.cluster;
    }

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

    public static final class Builder {
        private DataprocParametersArgs $;

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

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

        /**
         * @param cluster URI for cluster used to run Dataproc execution. Format: `projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}`
         * 
         * @return builder
         * 
         */
        public Builder cluster(@Nullable Output cluster) {
            $.cluster = cluster;
            return this;
        }

        /**
         * @param cluster URI for cluster used to run Dataproc execution. Format: `projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}`
         * 
         * @return builder
         * 
         */
        public Builder cluster(String cluster) {
            return cluster(Output.of(cluster));
        }

        public DataprocParametersArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy