Interface CreateAdapterRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateAdapterRequest.Builder,CreateAdapterRequest>, SdkBuilder<CreateAdapterRequest.Builder,CreateAdapterRequest>, SdkPojo, SdkRequest.Builder, TextractRequest.Builder
Enclosing class:
CreateAdapterRequest

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

    • 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

      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

      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:
    • 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.
    • overrideConfiguration

      CreateAdapterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.