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

com.pulumi.aws.ecs.outputs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration 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.60.0-alpha.1731982519
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.ecs.outputs;

import com.pulumi.aws.ecs.outputs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration {
    /**
     * @return Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
     * 
     */
    private TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig authorizationConfig;
    /**
     * @return The Amazon FSx for Windows File Server file system ID to use.
     * 
     */
    private String fileSystemId;
    /**
     * @return The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
     * 
     */
    private String rootDirectory;

    private TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration() {}
    /**
     * @return Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
     * 
     */
    public TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig authorizationConfig() {
        return this.authorizationConfig;
    }
    /**
     * @return The Amazon FSx for Windows File Server file system ID to use.
     * 
     */
    public String fileSystemId() {
        return this.fileSystemId;
    }
    /**
     * @return The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
     * 
     */
    public String rootDirectory() {
        return this.rootDirectory;
    }

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

    public static Builder builder(TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig authorizationConfig;
        private String fileSystemId;
        private String rootDirectory;
        public Builder() {}
        public Builder(TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authorizationConfig = defaults.authorizationConfig;
    	      this.fileSystemId = defaults.fileSystemId;
    	      this.rootDirectory = defaults.rootDirectory;
        }

        @CustomType.Setter
        public Builder authorizationConfig(TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig authorizationConfig) {
            if (authorizationConfig == null) {
              throw new MissingRequiredPropertyException("TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration", "authorizationConfig");
            }
            this.authorizationConfig = authorizationConfig;
            return this;
        }
        @CustomType.Setter
        public Builder fileSystemId(String fileSystemId) {
            if (fileSystemId == null) {
              throw new MissingRequiredPropertyException("TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration", "fileSystemId");
            }
            this.fileSystemId = fileSystemId;
            return this;
        }
        @CustomType.Setter
        public Builder rootDirectory(String rootDirectory) {
            if (rootDirectory == null) {
              throw new MissingRequiredPropertyException("TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration", "rootDirectory");
            }
            this.rootDirectory = rootDirectory;
            return this;
        }
        public TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration build() {
            final var _resultValue = new TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration();
            _resultValue.authorizationConfig = authorizationConfig;
            _resultValue.fileSystemId = fileSystemId;
            _resultValue.rootDirectory = rootDirectory;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy