Class CfnDocumentClassifier.DocumentClassifierDocumentsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnDocumentClassifier.DocumentClassifierDocumentsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentClassifier.DocumentClassifierDocumentsProperty>
- Enclosing interface:
CfnDocumentClassifier.DocumentClassifierDocumentsProperty
@Stability(Stable)
public static final class CfnDocumentClassifier.DocumentClassifierDocumentsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentClassifier.DocumentClassifierDocumentsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDocumentClassifier.DocumentClassifierDocumentsProperty.getS3Uri()
Sets the value ofCfnDocumentClassifier.DocumentClassifierDocumentsProperty.getTestS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Uri
@Stability(Stable) public CfnDocumentClassifier.DocumentClassifierDocumentsProperty.Builder s3Uri(String s3Uri) Sets the value ofCfnDocumentClassifier.DocumentClassifierDocumentsProperty.getS3Uri()
- Parameters:
s3Uri
- The S3 URI location of the training documents specified in the S3Uri CSV file. This parameter is required.- Returns:
this
-
testS3Uri
@Stability(Stable) public CfnDocumentClassifier.DocumentClassifierDocumentsProperty.Builder testS3Uri(String testS3Uri) Sets the value ofCfnDocumentClassifier.DocumentClassifierDocumentsProperty.getTestS3Uri()
- Parameters:
testS3Uri
- The S3 URI location of the test documents included in the TestS3Uri CSV file. This field is not required if you do not specify a test CSV file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDocumentClassifier.DocumentClassifierDocumentsProperty>
- Returns:
- a new instance of
CfnDocumentClassifier.DocumentClassifierDocumentsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-