Interface Ec2Config.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Ec2Config.Builder,Ec2Config>, SdkBuilder<Ec2Config.Builder,Ec2Config>, SdkPojo
Enclosing class:
Ec2Config

public static interface Ec2Config.Builder extends SdkPojo, CopyableBuilder<Ec2Config.Builder,Ec2Config>
  • Method Details

    • subnetArn

      Ec2Config.Builder subnetArn(String subnetArn)

      Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

      The subnet must be located:

      • In the same virtual private cloud (VPC) as the Amazon EFS file system.

      • In the same Availability Zone as at least one mount target for the Amazon EFS file system.

      You don't need to specify a subnet that includes a file system mount target.

      Parameters:
      subnetArn - Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

      The subnet must be located:

      • In the same virtual private cloud (VPC) as the Amazon EFS file system.

      • In the same Availability Zone as at least one mount target for the Amazon EFS file system.

      You don't need to specify a subnet that includes a file system mount target.

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

      Ec2Config.Builder securityGroupArns(Collection<String> securityGroupArns)

      Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.

      Parameters:
      securityGroupArns - Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupArns

      Ec2Config.Builder securityGroupArns(String... securityGroupArns)

      Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.

      Parameters:
      securityGroupArns - Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.