Interface CreateAdapterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAdapterRequest.Builder,
,CreateAdapterRequest> SdkBuilder<CreateAdapterRequest.Builder,
,CreateAdapterRequest> SdkPojo
,SdkRequest.Builder
,TextractRequest.Builder
- Enclosing class:
CreateAdapterRequest
-
Method Summary
Modifier and TypeMethodDescriptionadapterName
(String adapterName) The name to be assigned to the adapter being created.autoUpdate
(String autoUpdate) Controls whether or not the adapter should automatically update.autoUpdate
(AutoUpdate autoUpdate) Controls whether or not the adapter should automatically update.clientRequestToken
(String clientRequestToken) Idempotent token is used to recognize the request.description
(String description) The description to be assigned to the adapter being created.featureTypes
(Collection<FeatureType> featureTypes) The type of feature that the adapter is being trained on.featureTypes
(FeatureType... featureTypes) The type of feature that the adapter is being trained on.featureTypesWithStrings
(String... featureTypes) The type of feature that the adapter is being trained on.featureTypesWithStrings
(Collection<String> featureTypes) The type of feature that the adapter is being trained on.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of tags to be added to the adapter.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.textract.model.TextractRequest.Builder
build
-
Method Details
-
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
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
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
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
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
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
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAdapterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-