Class CfnLocationFSxOpenZFS.Builder

java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationFSxOpenZFS.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxOpenZFS>
Enclosing class:
CfnLocationFSxOpenZFS

@Stability(Stable) public static final class CfnLocationFSxOpenZFS.Builder extends Object implements software.amazon.jsii.Builder<CfnLocationFSxOpenZFS>
A fluent builder for CfnLocationFSxOpenZFS.
  • Method Details

    • create

      @Stability(Stable) public static CfnLocationFSxOpenZFS.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnLocationFSxOpenZFS.Builder.
    • protocol

      @Stability(Stable) public CfnLocationFSxOpenZFS.Builder protocol(IResolvable protocol)
      The type of protocol that AWS DataSync uses to access your file system.

      Parameters:
      protocol - The type of protocol that AWS DataSync uses to access your file system. This parameter is required.
      Returns:
      this
    • protocol

      @Stability(Stable) public CfnLocationFSxOpenZFS.Builder protocol(CfnLocationFSxOpenZFS.ProtocolProperty protocol)
      The type of protocol that AWS DataSync uses to access your file system.

      Parameters:
      protocol - The type of protocol that AWS DataSync uses to access your file system. This parameter is required.
      Returns:
      this
    • securityGroupArns

      @Stability(Stable) public CfnLocationFSxOpenZFS.Builder securityGroupArns(List<String> securityGroupArns)
      The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.

      Pattern : ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$

      Length constraints : Maximum length of 128.

      Parameters:
      securityGroupArns - The ARNs of the security groups that are used to configure the FSx for OpenZFS file system. This parameter is required.
      Returns:
      this
    • fsxFilesystemArn

      @Stability(Stable) public CfnLocationFSxOpenZFS.Builder fsxFilesystemArn(String fsxFilesystemArn)
      The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.

      Parameters:
      fsxFilesystemArn - The Amazon Resource Name (ARN) of the FSx for OpenZFS file system. This parameter is required.
      Returns:
      this
    • subdirectory

      @Stability(Stable) public CfnLocationFSxOpenZFS.Builder subdirectory(String subdirectory)
      A subdirectory in the location's path that must begin with /fsx .

      DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).

      Parameters:
      subdirectory - A subdirectory in the location's path that must begin with /fsx . This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnLocationFSxOpenZFS.Builder tags(List<? extends CfnTag> tags)
      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 - The key-value pair that represents a tag that you want to add to the resource. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnLocationFSxOpenZFS build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnLocationFSxOpenZFS>
      Returns:
      a newly built instance of CfnLocationFSxOpenZFS.