Class CfnEntityRecognizer.EntityRecognizerDocumentsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnEntityRecognizer.EntityRecognizerDocumentsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityRecognizer.EntityRecognizerDocumentsProperty>
- Enclosing interface:
CfnEntityRecognizer.EntityRecognizerDocumentsProperty
@Stability(Stable)
public static final class CfnEntityRecognizer.EntityRecognizerDocumentsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityRecognizer.EntityRecognizerDocumentsProperty>
A builder for
CfnEntityRecognizer.EntityRecognizerDocumentsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputFormat(String inputFormat) Sets the value ofCfnEntityRecognizer.EntityRecognizerDocumentsProperty.getInputFormat()Sets the value ofCfnEntityRecognizer.EntityRecognizerDocumentsProperty.getS3Uri()Sets the value ofCfnEntityRecognizer.EntityRecognizerDocumentsProperty.getTestS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Uri
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerDocumentsProperty.Builder s3Uri(String s3Uri) Sets the value ofCfnEntityRecognizer.EntityRecognizerDocumentsProperty.getS3Uri()- Parameters:
s3Uri- Specifies the Amazon S3 location where the training documents are located. This parameter is required.- Returns:
this
-
inputFormat
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerDocumentsProperty.Builder inputFormat(String inputFormat) Sets the value ofCfnEntityRecognizer.EntityRecognizerDocumentsProperty.getInputFormat()- Parameters:
inputFormat- Specifies how the text in an input file should be processed.- Returns:
this
-
testS3Uri
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerDocumentsProperty.Builder testS3Uri(String testS3Uri) Sets the value ofCfnEntityRecognizer.EntityRecognizerDocumentsProperty.getTestS3Uri()- Parameters:
testS3Uri- Specifies the Amazon S3 location where the test documents are located.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntityRecognizer.EntityRecognizerDocumentsProperty>- Returns:
- a new instance of
CfnEntityRecognizer.EntityRecognizerDocumentsProperty - Throws:
NullPointerException- if any required attribute was not provided
-