Interface PrivateLinkConfig.Builder

    • Method Detail

      • vpcEndpointId

        PrivateLinkConfig.Builder vpcEndpointId​(String vpcEndpointId)

        Specifies the ID of the VPC endpoint that your agent connects to.

        Parameters:
        vpcEndpointId - Specifies the ID of the VPC endpoint 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 your VPC endpoint is located. You can only specify one ARN.

        Parameters:
        subnetArns - Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
        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 your VPC endpoint is located. You can only specify one ARN.

        Parameters:
        subnetArns - Specifies the ARN of the subnet where your VPC endpoint is located. 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​(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.