Interface PrivateLinkConfig.Builder

  • Method Details

    • vpcEndpointId

      PrivateLinkConfig.Builder vpcEndpointId(String vpcEndpointId)

      Specifies the ID of the VPC service endpoint that's recorded for your agent. The endpoint ID is informational and isn't verified by DataSync. Your agent communicates through the private IP address in PrivateLinkEndpoint, which is set when you activate the agent.

      Parameters:
      vpcEndpointId - Specifies the ID of the VPC service endpoint that's recorded for your agent. The endpoint ID is informational and isn't verified by DataSync. Your agent communicates through the private IP address in PrivateLinkEndpoint, which is set when you activate the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • privateLinkEndpoint

      PrivateLinkConfig.Builder privateLinkEndpoint(String privateLinkEndpoint)

      Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to.

      Parameters:
      privateLinkEndpoint - Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetArns

      PrivateLinkConfig.Builder subnetArns(Collection<String> subnetArns)

      Specifies the ARN of the subnet where DataSync creates the network interfaces that handle data transfer traffic for your tasks. You can only specify one ARN.

      The subnet doesn't have to be the subnet that contains your VPC endpoint.

      Parameters:
      subnetArns - Specifies the ARN of the subnet where DataSync creates the network interfaces that handle data transfer traffic for your tasks. You can only specify one ARN.

      The subnet doesn't have to be the subnet that contains your VPC endpoint.

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

      PrivateLinkConfig.Builder subnetArns(String... subnetArns)

      Specifies the ARN of the subnet where DataSync creates the network interfaces that handle data transfer traffic for your tasks. You can only specify one ARN.

      The subnet doesn't have to be the subnet that contains your VPC endpoint.

      Parameters:
      subnetArns - Specifies the ARN of the subnet where DataSync creates the network interfaces that handle data transfer traffic for your tasks. You can only specify one ARN.

      The subnet doesn't have to be the subnet that contains your VPC endpoint.

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

      PrivateLinkConfig.Builder securityGroupArns(Collection<String> securityGroupArns)

      Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.

      Parameters:
      securityGroupArns - Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupArns

      PrivateLinkConfig.Builder securityGroupArns(String... securityGroupArns)

      Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.

      Parameters:
      securityGroupArns - Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.