Interface CreateAdapterRequest.Builder

    • Method Detail

      • adapterName

        CreateAdapterRequest.Builder adapterName​(String adapterName)

        The name to be assigned to the adapter being created.

        Parameters:
        adapterName - The name to be assigned to the adapter being created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientRequestToken

        CreateAdapterRequest.Builder clientRequestToken​(String clientRequestToken)

        Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapter requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.

        Parameters:
        clientRequestToken - Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapter requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateAdapterRequest.Builder description​(String description)

        The description to be assigned to the adapter being created.

        Parameters:
        description - The description to be assigned to the adapter being created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featureTypesWithStrings

        CreateAdapterRequest.Builder featureTypesWithStrings​(Collection<String> featureTypes)

        The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES

        Parameters:
        featureTypes - The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featureTypesWithStrings

        CreateAdapterRequest.Builder featureTypesWithStrings​(String... featureTypes)

        The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES

        Parameters:
        featureTypes - The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featureTypes

        CreateAdapterRequest.Builder featureTypes​(Collection<FeatureType> featureTypes)

        The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES

        Parameters:
        featureTypes - The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featureTypes

        CreateAdapterRequest.Builder featureTypes​(FeatureType... featureTypes)

        The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES

        Parameters:
        featureTypes - The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoUpdate

        CreateAdapterRequest.Builder autoUpdate​(String autoUpdate)

        Controls whether or not the adapter should automatically update.

        Parameters:
        autoUpdate - Controls whether or not the adapter should automatically update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AutoUpdate, AutoUpdate
      • autoUpdate

        CreateAdapterRequest.Builder autoUpdate​(AutoUpdate autoUpdate)

        Controls whether or not the adapter should automatically update.

        Parameters:
        autoUpdate - Controls whether or not the adapter should automatically update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AutoUpdate, AutoUpdate
      • tags

        CreateAdapterRequest.Builder tags​(Map<String,​String> tags)

        A list of tags to be added to the adapter.

        Parameters:
        tags - A list of tags to be added to the adapter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.