JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.datasync.model

Class CreateLocationEfsRequest

    • Constructor Detail

      • CreateLocationEfsRequest

        public CreateLocationEfsRequest()
    • Method Detail

      • setSubdirectory

        public void setSubdirectory(String subdirectory)

        Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

        You must specify a value with forward slashes (for example, /path/to/folder).

        Parameters:
        subdirectory - Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

        You must specify a value with forward slashes (for example, /path/to/folder).

      • getSubdirectory

        public String getSubdirectory()

        Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

        You must specify a value with forward slashes (for example, /path/to/folder).

        Returns:
        Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

        You must specify a value with forward slashes (for example, /path/to/folder).

      • withSubdirectory

        public CreateLocationEfsRequest withSubdirectory(String subdirectory)

        Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

        You must specify a value with forward slashes (for example, /path/to/folder).

        Parameters:
        subdirectory - Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

        You must specify a value with forward slashes (for example, /path/to/folder).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEfsFilesystemArn

        public void setEfsFilesystemArn(String efsFilesystemArn)

        Specifies the ARN for the Amazon EFS file system.

        Parameters:
        efsFilesystemArn - Specifies the ARN for the Amazon EFS file system.
      • getEfsFilesystemArn

        public String getEfsFilesystemArn()

        Specifies the ARN for the Amazon EFS file system.

        Returns:
        Specifies the ARN for the Amazon EFS file system.
      • withEfsFilesystemArn

        public CreateLocationEfsRequest withEfsFilesystemArn(String efsFilesystemArn)

        Specifies the ARN for the Amazon EFS file system.

        Parameters:
        efsFilesystemArn - Specifies the ARN for the Amazon EFS file system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEc2Config

        public void setEc2Config(Ec2Config ec2Config)

        Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.

        Parameters:
        ec2Config - Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
      • getEc2Config

        public Ec2Config getEc2Config()

        Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.

        Returns:
        Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
      • withEc2Config

        public CreateLocationEfsRequest withEc2Config(Ec2Config ec2Config)

        Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.

        Parameters:
        ec2Config - Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<TagListEntry> getTags()

        Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

        Returns:
        Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
      • setTags

        public void setTags(Collection<TagListEntry> tags)

        Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

        Parameters:
        tags - Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
      • withTags

        public CreateLocationEfsRequest withTags(TagListEntry... tags)

        Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateLocationEfsRequest withTags(Collection<TagListEntry> tags)

        Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

        Parameters:
        tags - Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAccessPointArn

        public void setAccessPointArn(String accessPointArn)

        Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.

        Parameters:
        accessPointArn - Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
      • getAccessPointArn

        public String getAccessPointArn()

        Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.

        Returns:
        Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
      • withAccessPointArn

        public CreateLocationEfsRequest withAccessPointArn(String accessPointArn)

        Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.

        Parameters:
        accessPointArn - Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFileSystemAccessRoleArn

        public void setFileSystemAccessRoleArn(String fileSystemAccessRoleArn)

        Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

        Parameters:
        fileSystemAccessRoleArn - Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
      • getFileSystemAccessRoleArn

        public String getFileSystemAccessRoleArn()

        Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

        Returns:
        Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
      • withFileSystemAccessRoleArn

        public CreateLocationEfsRequest withFileSystemAccessRoleArn(String fileSystemAccessRoleArn)

        Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

        Parameters:
        fileSystemAccessRoleArn - Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInTransitEncryption

        public void setInTransitEncryption(String inTransitEncryption)

        Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

        If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

        Parameters:
        inTransitEncryption - Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

        If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

        See Also:
        EfsInTransitEncryption
      • getInTransitEncryption

        public String getInTransitEncryption()

        Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

        If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

        Returns:
        Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

        If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

        See Also:
        EfsInTransitEncryption
      • withInTransitEncryption

        public CreateLocationEfsRequest withInTransitEncryption(String inTransitEncryption)

        Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

        If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

        Parameters:
        inTransitEncryption - Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

        If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EfsInTransitEncryption
      • withInTransitEncryption

        public CreateLocationEfsRequest withInTransitEncryption(EfsInTransitEncryption inTransitEncryption)

        Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

        If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

        Parameters:
        inTransitEncryption - Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

        If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EfsInTransitEncryption
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /