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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAdapterRequest.Builder
adapterName(String adapterName)
The name to be assigned to the adapter being created.CreateAdapterRequest.Builder
autoUpdate(String autoUpdate)
Controls whether or not the adapter should automatically update.CreateAdapterRequest.Builder
autoUpdate(AutoUpdate autoUpdate)
Controls whether or not the adapter should automatically update.CreateAdapterRequest.Builder
clientRequestToken(String clientRequestToken)
Idempotent token is used to recognize the request.CreateAdapterRequest.Builder
description(String description)
The description to be assigned to the adapter being created.CreateAdapterRequest.Builder
featureTypes(Collection<FeatureType> featureTypes)
The type of feature that the adapter is being trained on.CreateAdapterRequest.Builder
featureTypes(FeatureType... featureTypes)
The type of feature that the adapter is being trained on.CreateAdapterRequest.Builder
featureTypesWithStrings(String... featureTypes)
The type of feature that the adapter is being trained on.CreateAdapterRequest.Builder
featureTypesWithStrings(Collection<String> featureTypes)
The type of feature that the adapter is being trained on.CreateAdapterRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateAdapterRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateAdapterRequest.Builder
tags(Map<String,String> tags)
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 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.
-
overrideConfiguration
CreateAdapterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAdapterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-