@Stability(value=Stable) public static final class AccessConrtolLambdaProps.Builder extends Object implements software.amazon.jsii.Builder<AccessConrtolLambdaProps>
AccessConrtolLambdaProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public AccessConrtolLambdaProps.Builder confidenceThreshold(String confidenceThreshold)
AccessConrtolLambdaProps.getConfidenceThreshold()confidenceThreshold - The minimum prediction confidence score above which PII classification and detection would be considered as final answer.
Valid range (0.5 to 1.0).this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder containsPiiEntitiesThreadCount(String containsPiiEntitiesThreadCount)
AccessConrtolLambdaProps.getContainsPiiEntitiesThreadCount()containsPiiEntitiesThreadCount - Number of threads to use for calling Comprehend's ContainsPiiEntities API.
This controls the number of simultaneous calls that will be made from this Lambda.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder defaultLanguageCode(String defaultLanguageCode)
AccessConrtolLambdaProps.getDefaultLanguageCode()defaultLanguageCode - Default language of the text to be processed.
This code will be used for interacting with Comprehend.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder documentMaxSize(String documentMaxSize)
AccessConrtolLambdaProps.getDocumentMaxSize()documentMaxSize - Default maximum document size (in bytes) that this function can process otherwise will throw exception for too large document size.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder documentMaxSizeContainsPiiEntities(String documentMaxSizeContainsPiiEntities)
AccessConrtolLambdaProps.getDocumentMaxSizeContainsPiiEntities()documentMaxSizeContainsPiiEntities - Maximum document size (in bytes) to be used for making calls to Comprehend's ContainsPiiEntities API.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder isPartialObjectSupported(String isPartialObjectSupported)
AccessConrtolLambdaProps.getIsPartialObjectSupported()isPartialObjectSupported - Whether to support partial objects or not.
Accessing partial object through http headers such byte-range can corrupt the object and/or affect PII detection accuracy.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder logLevel(String logLevel)
AccessConrtolLambdaProps.getLogLevel()logLevel - Log level for Lambda function logging, e.g., ERROR, INFO, DEBUG, etc.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder maxCharsOverlap(String maxCharsOverlap)
AccessConrtolLambdaProps.getMaxCharsOverlap()maxCharsOverlap - Maximum characters to overlap among segments of a document in case chunking is needed because of maximum document size limit.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder piiEntityTypes(String piiEntityTypes)
AccessConrtolLambdaProps.getPiiEntityTypes()piiEntityTypes - List of comma separated PII entity types to be considered for access control.
Refer Comprehend's documentation page for list of supported PII entity types.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder publishCloudWatchMetrics(String publishCloudWatchMetrics)
AccessConrtolLambdaProps.getPublishCloudWatchMetrics()publishCloudWatchMetrics - True if publish metrics to Cloudwatch, false otherwise.
See README.md for details on CloudWatch metrics.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder semanticVersion(String semanticVersion)
AccessConrtolLambdaProps.getSemanticVersion()semanticVersion - The version of the serverless application.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder subsegmentOverlappingTokens(String subsegmentOverlappingTokens)
AccessConrtolLambdaProps.getSubsegmentOverlappingTokens()subsegmentOverlappingTokens - Number of tokens/words to overlap among segments of a document in case chunking is needed because of maximum document size limit.this@Stability(value=Stable) public AccessConrtolLambdaProps.Builder unsupportedFileHandling(String unsupportedFileHandling)
AccessConrtolLambdaProps.getUnsupportedFileHandling()unsupportedFileHandling - Handling logic for Unsupported files.
Valid values are PASS and FAIL.this@Stability(value=Stable) public AccessConrtolLambdaProps build()
build in interface software.amazon.jsii.Builder<AccessConrtolLambdaProps>AccessConrtolLambdaPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.