Class CfnAdapter.Builder
java.lang.Object
software.amazon.awscdk.services.textract.CfnAdapter.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAdapter>
- Enclosing class:
CfnAdapter
@Stability(Stable)
public static final class CfnAdapter.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAdapter>
A fluent builder for
CfnAdapter.-
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.build()static CfnAdapter.Builderdescription(String description) The description to be assigned to the adapter being created.featureTypes(List<String> featureTypes) The type of feature that the adapter is being trained on.A list of tags to be added to the adapter.
-
Method Details
-
create
@Stability(Stable) public static CfnAdapter.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAdapter.Builder.
-
adapterName
The name to be assigned to the adapter being created.- Parameters:
adapterName- The name to be assigned to the adapter being created. This parameter is required.- Returns:
this- See Also:
-
featureTypes
The type of feature that the adapter is being trained on.Currently, supported feature types are: QUERIES
- Parameters:
featureTypes- The type of feature that the adapter is being trained on. This parameter is required.- Returns:
this- See Also:
-
autoUpdate
Controls whether or not the adapter should automatically update.- Parameters:
autoUpdate- Controls whether or not the adapter should automatically update. This parameter is required.- Returns:
this- See Also:
-
description
The description to be assigned to the adapter being created.- Parameters:
description- The description to be assigned to the adapter being created. This parameter is required.- Returns:
this- 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. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAdapter>- Returns:
- a newly built instance of
CfnAdapter.
-