Class CfnAdapterPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.textract.CfnAdapterPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAdapterPropsMixin>
- Enclosing class:
CfnAdapterPropsMixin
@Stability(Stable)
public static final class CfnAdapterPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAdapterPropsMixin>
A fluent builder for
CfnAdapterPropsMixin.-
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 CfnAdapterPropsMixin.Buildercreate()static CfnAdapterPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(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 CfnAdapterPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAdapterPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAdapterPropsMixin.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:
-
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:
-
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:
-
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<CfnAdapterPropsMixin>- Returns:
- a newly built instance of
CfnAdapterPropsMixin.
-