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

com.pulumi.aws.ecs.inputs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs 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.ecs.inputs;

import com.pulumi.aws.ecs.inputs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs;
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 TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs Empty = new TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs();

    /**
     * Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
     * 
     */
    @Import(name="authorizationConfig", required=true)
    private Output authorizationConfig;

    /**
     * @return Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
     * 
     */
    public Output authorizationConfig() {
        return this.authorizationConfig;
    }

    /**
     * The Amazon FSx for Windows File Server file system ID to use.
     * 
     */
    @Import(name="fileSystemId", required=true)
    private Output fileSystemId;

    /**
     * @return The Amazon FSx for Windows File Server file system ID to use.
     * 
     */
    public Output fileSystemId() {
        return this.fileSystemId;
    }

    /**
     * The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
     * 
     */
    @Import(name="rootDirectory", required=true)
    private Output rootDirectory;

    /**
     * @return The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
     * 
     */
    public Output rootDirectory() {
        return this.rootDirectory;
    }

    private TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs() {}

    private TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs(TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs $) {
        this.authorizationConfig = $.authorizationConfig;
        this.fileSystemId = $.fileSystemId;
        this.rootDirectory = $.rootDirectory;
    }

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

    public static final class Builder {
        private TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs $;

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

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

        /**
         * @param authorizationConfig Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
         * 
         * @return builder
         * 
         */
        public Builder authorizationConfig(Output authorizationConfig) {
            $.authorizationConfig = authorizationConfig;
            return this;
        }

        /**
         * @param authorizationConfig Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
         * 
         * @return builder
         * 
         */
        public Builder authorizationConfig(TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs authorizationConfig) {
            return authorizationConfig(Output.of(authorizationConfig));
        }

        /**
         * @param fileSystemId The Amazon FSx for Windows File Server file system ID to use.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemId(Output fileSystemId) {
            $.fileSystemId = fileSystemId;
            return this;
        }

        /**
         * @param fileSystemId The Amazon FSx for Windows File Server file system ID to use.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemId(String fileSystemId) {
            return fileSystemId(Output.of(fileSystemId));
        }

        /**
         * @param rootDirectory The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
         * 
         * @return builder
         * 
         */
        public Builder rootDirectory(Output rootDirectory) {
            $.rootDirectory = rootDirectory;
            return this;
        }

        /**
         * @param rootDirectory The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
         * 
         * @return builder
         * 
         */
        public Builder rootDirectory(String rootDirectory) {
            return rootDirectory(Output.of(rootDirectory));
        }

        public TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs build() {
            if ($.authorizationConfig == null) {
                throw new MissingRequiredPropertyException("TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs", "authorizationConfig");
            }
            if ($.fileSystemId == null) {
                throw new MissingRequiredPropertyException("TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs", "fileSystemId");
            }
            if ($.rootDirectory == null) {
                throw new MissingRequiredPropertyException("TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs", "rootDirectory");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy