Interface CreateLocationEfsRequest.Builder

  • Method Details

    • subdirectory

      CreateLocationEfsRequest.Builder subdirectory(String subdirectory)

      Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data on your file system (depending on if this is a source or destination location).

      By default, DataSync uses the root directory (or access point if you provide one by using AccessPointArn). You can also include subdirectories using 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 on your file system (depending on if this is a source or destination location).

      By default, DataSync uses the root directory (or access point if you provide one by using AccessPointArn). You can also include subdirectories using forward slashes (for example, /path/to/folder).

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

      CreateLocationEfsRequest.Builder efsFilesystemArn(String efsFilesystemArn)

      Specifies the ARN for your Amazon EFS file system.

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

      Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets.

      Parameters:
      ec2Config - Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2Config

      Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets.

      This is a convenience method that creates an instance of the Ec2Config.Builder avoiding the need to create one manually via Ec2Config.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ec2Config(Ec2Config).

      Parameters:
      ec2Config - a consumer that will call methods on Ec2Config.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.
    • 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.

      This is a convenience method that creates an instance of the TagListEntry.Builder avoiding the need to create one manually via TagListEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<TagListEntry>).

      Parameters:
      tags - a consumer that will call methods on TagListEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accessPointArn

      CreateLocationEfsRequest.Builder accessPointArn(String accessPointArn)

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

      For more information, see Accessing restricted file systems.

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

      For more information, see Accessing restricted file systems.

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

      CreateLocationEfsRequest.Builder fileSystemAccessRoleArn(String fileSystemAccessRoleArn)

      Specifies an Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system.

      For information on creating this role, see Creating a DataSync IAM role for file system access.

      Parameters:
      fileSystemAccessRoleArn - Specifies an Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system.

      For information on creating this role, see Creating a DataSync IAM role for file system access.

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

      CreateLocationEfsRequest.Builder inTransitEncryption(String inTransitEncryption)

      Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your 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 transfers data to or from your 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:
    • inTransitEncryption

      CreateLocationEfsRequest.Builder inTransitEncryption(EfsInTransitEncryption inTransitEncryption)

      Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your 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 transfers data to or from your 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:
    • overrideConfiguration

      CreateLocationEfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.