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

com.pulumi.aws.datasync.inputs.EfsLocationState Maven / Gradle / Ivy

// *** 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.datasync.inputs;

import com.pulumi.aws.datasync.inputs.EfsLocationEc2ConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final EfsLocationState Empty = new EfsLocationState();

    /**
     * Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
     * 
     */
    @Import(name="accessPointArn")
    private @Nullable Output accessPointArn;

    /**
     * @return Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
     * 
     */
    public Optional> accessPointArn() {
        return Optional.ofNullable(this.accessPointArn);
    }

    /**
     * Amazon Resource Name (ARN) of the DataSync Location.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN) of the DataSync Location.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Configuration block containing EC2 configurations for connecting to the EFS File System.
     * 
     */
    @Import(name="ec2Config")
    private @Nullable Output ec2Config;

    /**
     * @return Configuration block containing EC2 configurations for connecting to the EFS File System.
     * 
     */
    public Optional> ec2Config() {
        return Optional.ofNullable(this.ec2Config);
    }

    /**
     * Amazon Resource Name (ARN) of EFS File System.
     * 
     */
    @Import(name="efsFileSystemArn")
    private @Nullable Output efsFileSystemArn;

    /**
     * @return Amazon Resource Name (ARN) of EFS File System.
     * 
     */
    public Optional> efsFileSystemArn() {
        return Optional.ofNullable(this.efsFileSystemArn);
    }

    /**
     * Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
     * 
     */
    @Import(name="fileSystemAccessRoleArn")
    private @Nullable Output fileSystemAccessRoleArn;

    /**
     * @return Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
     * 
     */
    public Optional> fileSystemAccessRoleArn() {
        return Optional.ofNullable(this.fileSystemAccessRoleArn);
    }

    /**
     * Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system. Valid values are `NONE` and `TLS1_2`.
     * 
     */
    @Import(name="inTransitEncryption")
    private @Nullable Output inTransitEncryption;

    /**
     * @return Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system. Valid values are `NONE` and `TLS1_2`.
     * 
     */
    public Optional> inTransitEncryption() {
        return Optional.ofNullable(this.inTransitEncryption);
    }

    /**
     * Subdirectory to perform actions as source or destination. Default `/`.
     * 
     */
    @Import(name="subdirectory")
    private @Nullable Output subdirectory;

    /**
     * @return Subdirectory to perform actions as source or destination. Default `/`.
     * 
     */
    public Optional> subdirectory() {
        return Optional.ofNullable(this.subdirectory);
    }

    /**
     * Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    @Import(name="uri")
    private @Nullable Output uri;

    public Optional> uri() {
        return Optional.ofNullable(this.uri);
    }

    private EfsLocationState() {}

    private EfsLocationState(EfsLocationState $) {
        this.accessPointArn = $.accessPointArn;
        this.arn = $.arn;
        this.ec2Config = $.ec2Config;
        this.efsFileSystemArn = $.efsFileSystemArn;
        this.fileSystemAccessRoleArn = $.fileSystemAccessRoleArn;
        this.inTransitEncryption = $.inTransitEncryption;
        this.subdirectory = $.subdirectory;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.uri = $.uri;
    }

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

    public static final class Builder {
        private EfsLocationState $;

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

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

        /**
         * @param accessPointArn Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
         * 
         * @return builder
         * 
         */
        public Builder accessPointArn(@Nullable Output accessPointArn) {
            $.accessPointArn = accessPointArn;
            return this;
        }

        /**
         * @param accessPointArn Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
         * 
         * @return builder
         * 
         */
        public Builder accessPointArn(String accessPointArn) {
            return accessPointArn(Output.of(accessPointArn));
        }

        /**
         * @param arn Amazon Resource Name (ARN) of the DataSync Location.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Amazon Resource Name (ARN) of the DataSync Location.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param ec2Config Configuration block containing EC2 configurations for connecting to the EFS File System.
         * 
         * @return builder
         * 
         */
        public Builder ec2Config(@Nullable Output ec2Config) {
            $.ec2Config = ec2Config;
            return this;
        }

        /**
         * @param ec2Config Configuration block containing EC2 configurations for connecting to the EFS File System.
         * 
         * @return builder
         * 
         */
        public Builder ec2Config(EfsLocationEc2ConfigArgs ec2Config) {
            return ec2Config(Output.of(ec2Config));
        }

        /**
         * @param efsFileSystemArn Amazon Resource Name (ARN) of EFS File System.
         * 
         * @return builder
         * 
         */
        public Builder efsFileSystemArn(@Nullable Output efsFileSystemArn) {
            $.efsFileSystemArn = efsFileSystemArn;
            return this;
        }

        /**
         * @param efsFileSystemArn Amazon Resource Name (ARN) of EFS File System.
         * 
         * @return builder
         * 
         */
        public Builder efsFileSystemArn(String efsFileSystemArn) {
            return efsFileSystemArn(Output.of(efsFileSystemArn));
        }

        /**
         * @param fileSystemAccessRoleArn Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemAccessRoleArn(@Nullable Output fileSystemAccessRoleArn) {
            $.fileSystemAccessRoleArn = fileSystemAccessRoleArn;
            return this;
        }

        /**
         * @param fileSystemAccessRoleArn Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemAccessRoleArn(String fileSystemAccessRoleArn) {
            return fileSystemAccessRoleArn(Output.of(fileSystemAccessRoleArn));
        }

        /**
         * @param inTransitEncryption Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system. Valid values are `NONE` and `TLS1_2`.
         * 
         * @return builder
         * 
         */
        public Builder inTransitEncryption(@Nullable Output inTransitEncryption) {
            $.inTransitEncryption = inTransitEncryption;
            return this;
        }

        /**
         * @param inTransitEncryption Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system. Valid values are `NONE` and `TLS1_2`.
         * 
         * @return builder
         * 
         */
        public Builder inTransitEncryption(String inTransitEncryption) {
            return inTransitEncryption(Output.of(inTransitEncryption));
        }

        /**
         * @param subdirectory Subdirectory to perform actions as source or destination. Default `/`.
         * 
         * @return builder
         * 
         */
        public Builder subdirectory(@Nullable Output subdirectory) {
            $.subdirectory = subdirectory;
            return this;
        }

        /**
         * @param subdirectory Subdirectory to perform actions as source or destination. Default `/`.
         * 
         * @return builder
         * 
         */
        public Builder subdirectory(String subdirectory) {
            return subdirectory(Output.of(subdirectory));
        }

        /**
         * @param tags Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public Builder uri(@Nullable Output uri) {
            $.uri = uri;
            return this;
        }

        public Builder uri(String uri) {
            return uri(Output.of(uri));
        }

        public EfsLocationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy