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

com.pulumi.aws.m2.inputs.EnvironmentStorageConfigurationEfsArgs Maven / Gradle / Ivy

Go to download

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

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.aws.m2.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class EnvironmentStorageConfigurationEfsArgs extends com.pulumi.resources.ResourceArgs {

    public static final EnvironmentStorageConfigurationEfsArgs Empty = new EnvironmentStorageConfigurationEfsArgs();

    /**
     * Id of the EFS filesystem to mount.
     * 
     */
    @Import(name="fileSystemId", required=true)
    private Output fileSystemId;

    /**
     * @return Id of the EFS filesystem to mount.
     * 
     */
    public Output fileSystemId() {
        return this.fileSystemId;
    }

    /**
     * Path to mount the filesystem on, must start with `/m2/mount/`.
     * 
     */
    @Import(name="mountPoint", required=true)
    private Output mountPoint;

    /**
     * @return Path to mount the filesystem on, must start with `/m2/mount/`.
     * 
     */
    public Output mountPoint() {
        return this.mountPoint;
    }

    private EnvironmentStorageConfigurationEfsArgs() {}

    private EnvironmentStorageConfigurationEfsArgs(EnvironmentStorageConfigurationEfsArgs $) {
        this.fileSystemId = $.fileSystemId;
        this.mountPoint = $.mountPoint;
    }

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

    public static final class Builder {
        private EnvironmentStorageConfigurationEfsArgs $;

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

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

        /**
         * @param fileSystemId Id of the EFS filesystem to mount.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemId(Output fileSystemId) {
            $.fileSystemId = fileSystemId;
            return this;
        }

        /**
         * @param fileSystemId Id of the EFS filesystem to mount.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemId(String fileSystemId) {
            return fileSystemId(Output.of(fileSystemId));
        }

        /**
         * @param mountPoint Path to mount the filesystem on, must start with `/m2/mount/`.
         * 
         * @return builder
         * 
         */
        public Builder mountPoint(Output mountPoint) {
            $.mountPoint = mountPoint;
            return this;
        }

        /**
         * @param mountPoint Path to mount the filesystem on, must start with `/m2/mount/`.
         * 
         * @return builder
         * 
         */
        public Builder mountPoint(String mountPoint) {
            return mountPoint(Output.of(mountPoint));
        }

        public EnvironmentStorageConfigurationEfsArgs build() {
            if ($.fileSystemId == null) {
                throw new MissingRequiredPropertyException("EnvironmentStorageConfigurationEfsArgs", "fileSystemId");
            }
            if ($.mountPoint == null) {
                throw new MissingRequiredPropertyException("EnvironmentStorageConfigurationEfsArgs", "mountPoint");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy