Class ComprehendS3olabProps.Builder
- java.lang.Object
-
- io.github.hsiehshujeng.cdk.comprehend.s3olap.ComprehendS3olabProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComprehendS3olabProps>
- Enclosing interface:
- ComprehendS3olabProps
@Stability(Stable) public static final class ComprehendS3olabProps.Builder extends Object implements software.amazon.jsii.Builder<ComprehendS3olabProps>
A builder forComprehendS3olabProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
accessControlLambdaConfig
@Stability(Stable) public ComprehendS3olabProps.Builder accessControlLambdaConfig(AccessConrtolLambdaProps accessControlLambdaConfig)
Sets the value ofComprehendS3olabProps.getAccessControlLambdaConfig()- Parameters:
accessControlLambdaConfig- The parameters needed for the `ComprehendPiiAccessControlS3ObjectLambda` function.- Returns:
this
-
adminRedactionLambdaConfig
@Stability(Stable) public ComprehendS3olabProps.Builder adminRedactionLambdaConfig(RedactionLambdaProps adminRedactionLambdaConfig)
Sets the value ofComprehendS3olabProps.getAdminRedactionLambdaConfig()- Parameters:
adminRedactionLambdaConfig- The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `AdminRole`.- Returns:
this
-
adminRoleConfig
@Stability(Stable) public ComprehendS3olabProps.Builder adminRoleConfig(AdminRoleProps adminRoleConfig)
Sets the value ofComprehendS3olabProps.getAdminRoleConfig()- Parameters:
adminRoleConfig- The manageable properties for the administrator IAM role in the redaction case.- Returns:
this
-
billingRedactionLambdaConfig
@Stability(Stable) public ComprehendS3olabProps.Builder billingRedactionLambdaConfig(RedactionLambdaProps billingRedactionLambdaConfig)
Sets the value ofComprehendS3olabProps.getBillingRedactionLambdaConfig()- Parameters:
billingRedactionLambdaConfig- The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `BillingRole`.- Returns:
this
-
billingRoleConfig
@Stability(Stable) public ComprehendS3olabProps.Builder billingRoleConfig(BillingRoleProps billingRoleConfig)
Sets the value ofComprehendS3olabProps.getBillingRoleConfig()- Parameters:
billingRoleConfig- The manageable properties for the billing IAM role in the redaction case.- Returns:
this
-
cusrtSupportRedactionLambdaConfig
@Stability(Stable) public ComprehendS3olabProps.Builder cusrtSupportRedactionLambdaConfig(RedactionLambdaProps cusrtSupportRedactionLambdaConfig)
Sets the value ofComprehendS3olabProps.getCusrtSupportRedactionLambdaConfig()- Parameters:
cusrtSupportRedactionLambdaConfig- The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `CustSupportRole`.- Returns:
this
-
custSupportRoleConfig
@Stability(Stable) public ComprehendS3olabProps.Builder custSupportRoleConfig(CustSupportRoleProps custSupportRoleConfig)
Sets the value ofComprehendS3olabProps.getCustSupportRoleConfig()- Parameters:
custSupportRoleConfig- The manageable properties for the customer support IAM role in the redaction case.- Returns:
this
-
exampleFileDir
@Stability(Stable) public ComprehendS3olabProps.Builder exampleFileDir(String exampleFileDir)
Sets the value ofComprehendS3olabProps.getExampleFileDir()- Parameters:
exampleFileDir- The directory path where `files/access_control/*.txt` and `files/redaction/*.txt` will be put. DO NOT INCLUDE/in the end.- Returns:
this
-
generalRoleConfig
@Stability(Stable) public ComprehendS3olabProps.Builder generalRoleConfig(GeneralRoleProps generalRoleConfig)
Sets the value ofComprehendS3olabProps.getGeneralRoleConfig()- Parameters:
generalRoleConfig- The manageable properties for the IAM role used to access the `survey-results.txt` data.- Returns:
this
-
generateRandomCharacters
@Stability(Stable) public ComprehendS3olabProps.Builder generateRandomCharacters(Boolean generateRandomCharacters)
Sets the value ofComprehendS3olabProps.getGenerateRandomCharacters()- Parameters:
generateRandomCharacters- For distinguish test and normal deployment.- Returns:
this
-
s3AccessPointNames
@Stability(Stable) public ComprehendS3olabProps.Builder s3AccessPointNames(S3AccessPointNames s3AccessPointNames)
Sets the value ofComprehendS3olabProps.getS3AccessPointNames()- Parameters:
s3AccessPointNames- The names of the S3 access points for the access control case and redaction case.- Returns:
this
-
surveyBucketPrefix
@Stability(Stable) public ComprehendS3olabProps.Builder surveyBucketPrefix(String surveyBucketPrefix)
Sets the value ofComprehendS3olabProps.getSurveyBucketPrefix()- Parameters:
surveyBucketPrefix- The prefix attached to the name of the S3 bucket where you are going to explore the S3 Object Lambda pertaining to the access control case.- Returns:
this
-
transcriptsBucketPrefix
@Stability(Stable) public ComprehendS3olabProps.Builder transcriptsBucketPrefix(String transcriptsBucketPrefix)
Sets the value ofComprehendS3olabProps.getTranscriptsBucketPrefix()- Parameters:
transcriptsBucketPrefix- The prefix attached to the name of the S3 bucket where you are going to explore the S3 Object Lambda pertaining to the redaction case.- Returns:
this
-
build
@Stability(Stable) public ComprehendS3olabProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComprehendS3olabProps>- Returns:
- a new instance of
ComprehendS3olabProps - Throws:
NullPointerException- if any required attribute was not provided
-
-