Class CfnAdapterMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.textract.CfnAdapterMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAdapterMixinProps>
- Enclosing interface:
CfnAdapterMixinProps
@Stability(Stable)
public static final class CfnAdapterMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAdapterMixinProps>
A builder for
CfnAdapterMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadapterName(String adapterName) Sets the value ofCfnAdapterMixinProps.getAdapterName()autoUpdate(String autoUpdate) Sets the value ofCfnAdapterMixinProps.getAutoUpdate()build()Builds the configured instance.description(String description) Sets the value ofCfnAdapterMixinProps.getDescription()featureTypes(List<String> featureTypes) Sets the value ofCfnAdapterMixinProps.getFeatureTypes()Sets the value ofCfnAdapterMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adapterName
Sets the value ofCfnAdapterMixinProps.getAdapterName()- Parameters:
adapterName- The name to be assigned to the adapter being created.- Returns:
this
-
autoUpdate
Sets the value ofCfnAdapterMixinProps.getAutoUpdate()- Parameters:
autoUpdate- Controls whether or not the adapter should automatically update.- Returns:
this
-
description
Sets the value ofCfnAdapterMixinProps.getDescription()- Parameters:
description- The description to be assigned to the adapter being created.- Returns:
this
-
featureTypes
Sets the value ofCfnAdapterMixinProps.getFeatureTypes()- Parameters:
featureTypes- The type of feature that the adapter is being trained on. Currently, supported feature types are: QUERIES- Returns:
this
-
tags
Sets the value ofCfnAdapterMixinProps.getTags()- Parameters:
tags- A list of tags to be added to the adapter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAdapterMixinProps>- Returns:
- a new instance of
CfnAdapterMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-