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

com.pulumi.aws.batch.inputs.GetComputeEnvironmentArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.batch.inputs;

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


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

    public static final GetComputeEnvironmentArgs Empty = new GetComputeEnvironmentArgs();

    /**
     * Name of the Batch Compute Environment
     * 
     */
    @Import(name="computeEnvironmentName", required=true)
    private Output computeEnvironmentName;

    /**
     * @return Name of the Batch Compute Environment
     * 
     */
    public Output computeEnvironmentName() {
        return this.computeEnvironmentName;
    }

    /**
     * Key-value map of resource tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value map of resource tags
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetComputeEnvironmentArgs() {}

    private GetComputeEnvironmentArgs(GetComputeEnvironmentArgs $) {
        this.computeEnvironmentName = $.computeEnvironmentName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetComputeEnvironmentArgs $;

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

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

        /**
         * @param computeEnvironmentName Name of the Batch Compute Environment
         * 
         * @return builder
         * 
         */
        public Builder computeEnvironmentName(Output computeEnvironmentName) {
            $.computeEnvironmentName = computeEnvironmentName;
            return this;
        }

        /**
         * @param computeEnvironmentName Name of the Batch Compute Environment
         * 
         * @return builder
         * 
         */
        public Builder computeEnvironmentName(String computeEnvironmentName) {
            return computeEnvironmentName(Output.of(computeEnvironmentName));
        }

        /**
         * @param tags Key-value map of resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value map of resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public GetComputeEnvironmentArgs build() {
            if ($.computeEnvironmentName == null) {
                throw new MissingRequiredPropertyException("GetComputeEnvironmentArgs", "computeEnvironmentName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy