Interface DataTransferApi.Builder

    • Method Detail

      • name

        DataTransferApi.Builder name​(String name)

        The name of the connector application API.

        Parameters:
        name - The name of the connector application API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        DataTransferApi.Builder type​(String type)

        You can specify one of the following types:

        AUTOMATIC

        The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.

        SYNC

        A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.

        ASYNC

        An asynchronous API. This type of API optimizes a flow for large datasets.

        Parameters:
        type - You can specify one of the following types:

        AUTOMATIC

        The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.

        SYNC

        A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.

        ASYNC

        An asynchronous API. This type of API optimizes a flow for large datasets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataTransferApiType, DataTransferApiType
      • type

        DataTransferApi.Builder type​(DataTransferApiType type)

        You can specify one of the following types:

        AUTOMATIC

        The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.

        SYNC

        A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.

        ASYNC

        An asynchronous API. This type of API optimizes a flow for large datasets.

        Parameters:
        type - You can specify one of the following types:

        AUTOMATIC

        The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.

        SYNC

        A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.

        ASYNC

        An asynchronous API. This type of API optimizes a flow for large datasets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataTransferApiType, DataTransferApiType