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

com.pulumi.azurenative.awsconnector.inputs.EnvironmentFileArgs Maven / Gradle / Ivy

The 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.awsconnector.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;


/**
 * Definition of EnvironmentFile
 * 
 */
public final class EnvironmentFileArgs extends com.pulumi.resources.ResourceArgs {

    public static final EnvironmentFileArgs Empty = new EnvironmentFileArgs();

    /**
     * The file type to use. Environment files are objects in Amazon S3. The only supported value is ``s3``.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The file type to use. Environment files are objects in Amazon S3. The only supported value is ``s3``.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    /**
     * The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private EnvironmentFileArgs() {}

    private EnvironmentFileArgs(EnvironmentFileArgs $) {
        this.type = $.type;
        this.value = $.value;
    }

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

    public static final class Builder {
        private EnvironmentFileArgs $;

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

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

        /**
         * @param type The file type to use. Environment files are objects in Amazon S3. The only supported value is ``s3``.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The file type to use. Environment files are objects in Amazon S3. The only supported value is ``s3``.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        /**
         * @param value The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public EnvironmentFileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy