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

com.pulumi.googlenative.dataproc.v1.inputs.RuntimeConfigArgs 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.dataproc.v1.inputs;

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


/**
 * Runtime configuration for a workload.
 * 
 */
public final class RuntimeConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final RuntimeConfigArgs Empty = new RuntimeConfigArgs();

    /**
     * Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
     * 
     */
    @Import(name="containerImage")
    private @Nullable Output containerImage;

    /**
     * @return Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
     * 
     */
    public Optional> containerImage() {
        return Optional.ofNullable(this.containerImage);
    }

    /**
     * Optional. A mapping of property names to values, which are used to configure workload execution.
     * 
     */
    @Import(name="properties")
    private @Nullable Output> properties;

    /**
     * @return Optional. A mapping of property names to values, which are used to configure workload execution.
     * 
     */
    public Optional>> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Optional. Version of the batch runtime.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Optional. Version of the batch runtime.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private RuntimeConfigArgs() {}

    private RuntimeConfigArgs(RuntimeConfigArgs $) {
        this.containerImage = $.containerImage;
        this.properties = $.properties;
        this.version = $.version;
    }

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

    public static final class Builder {
        private RuntimeConfigArgs $;

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

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

        /**
         * @param containerImage Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
         * 
         * @return builder
         * 
         */
        public Builder containerImage(@Nullable Output containerImage) {
            $.containerImage = containerImage;
            return this;
        }

        /**
         * @param containerImage Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
         * 
         * @return builder
         * 
         */
        public Builder containerImage(String containerImage) {
            return containerImage(Output.of(containerImage));
        }

        /**
         * @param properties Optional. A mapping of property names to values, which are used to configure workload execution.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output> properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Optional. A mapping of property names to values, which are used to configure workload execution.
         * 
         * @return builder
         * 
         */
        public Builder properties(Map properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param version Optional. Version of the batch runtime.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Optional. Version of the batch runtime.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public RuntimeConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy