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