Class CfnLocationFSxLustre.Builder

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

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

    • create

      @Stability(Stable) public static CfnLocationFSxLustre.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 CfnLocationFSxLustre.Builder.
    • securityGroupArns

      @Stability(Stable) public CfnLocationFSxLustre.Builder securityGroupArns(List<String> securityGroupArns)
      The ARNs of the security groups that are used to configure the FSx for Lustre 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 Lustre file system. This parameter is required.
      Returns:
      this
    • fsxFilesystemArn

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

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

      @Stability(Stable) public CfnLocationFSxLustre.Builder subdirectory(String subdirectory)
      A subdirectory in the location's path.

      This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.

      Parameters:
      subdirectory - A subdirectory in the location's path. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnLocationFSxLustre.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 CfnLocationFSxLustre build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnLocationFSxLustre>
      Returns:
      a newly built instance of CfnLocationFSxLustre.