Class ComprehendS3olab.Builder

    • Method Detail

      • accessControlLambdaConfig

        @Stability(Stable)
        public ComprehendS3olab.Builder accessControlLambdaConfig​(AccessConrtolLambdaProps accessControlLambdaConfig)
        The parameters needed for the `ComprehendPiiAccessControlS3ObjectLambda` function.

        Parameters:
        accessControlLambdaConfig - The parameters needed for the `ComprehendPiiAccessControlS3ObjectLambda` function. This parameter is required.
        Returns:
        this
      • adminRedactionLambdaConfig

        @Stability(Stable)
        public ComprehendS3olab.Builder adminRedactionLambdaConfig​(RedactionLambdaProps adminRedactionLambdaConfig)
        The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `AdminRole`.

        Parameters:
        adminRedactionLambdaConfig - The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `AdminRole`. This parameter is required.
        Returns:
        this
      • adminRoleConfig

        @Stability(Stable)
        public ComprehendS3olab.Builder adminRoleConfig​(AdminRoleProps adminRoleConfig)
        The manageable properties for the administrator IAM role in the redaction case.

        Parameters:
        adminRoleConfig - The manageable properties for the administrator IAM role in the redaction case. This parameter is required.
        Returns:
        this
      • billingRedactionLambdaConfig

        @Stability(Stable)
        public ComprehendS3olab.Builder billingRedactionLambdaConfig​(RedactionLambdaProps billingRedactionLambdaConfig)
        The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `BillingRole`.

        Parameters:
        billingRedactionLambdaConfig - The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `BillingRole`. This parameter is required.
        Returns:
        this
      • billingRoleConfig

        @Stability(Stable)
        public ComprehendS3olab.Builder billingRoleConfig​(BillingRoleProps billingRoleConfig)
        The manageable properties for the billing IAM role in the redaction case.

        Parameters:
        billingRoleConfig - The manageable properties for the billing IAM role in the redaction case. This parameter is required.
        Returns:
        this
      • cusrtSupportRedactionLambdaConfig

        @Stability(Stable)
        public ComprehendS3olab.Builder cusrtSupportRedactionLambdaConfig​(RedactionLambdaProps cusrtSupportRedactionLambdaConfig)
        The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `CustSupportRole`.

        Parameters:
        cusrtSupportRedactionLambdaConfig - The parameters of the `ComprehendPiiRedactionS3ObjectLambda` function for the `CustSupportRole`. This parameter is required.
        Returns:
        this
      • custSupportRoleConfig

        @Stability(Stable)
        public ComprehendS3olab.Builder custSupportRoleConfig​(CustSupportRoleProps custSupportRoleConfig)
        The manageable properties for the customer support IAM role in the redaction case.

        Parameters:
        custSupportRoleConfig - The manageable properties for the customer support IAM role in the redaction case. This parameter is required.
        Returns:
        this
      • exampleFileDir

        @Stability(Stable)
        public ComprehendS3olab.Builder exampleFileDir​(String exampleFileDir)
        The directory path where `files/access_control/*.txt` and `files/redaction/*.txt` will be put.

        DO NOT INCLUDE / in the end.

        Default: __dirname

        Parameters:
        exampleFileDir - The directory path where `files/access_control/*.txt` and `files/redaction/*.txt` will be put. This parameter is required.
        Returns:
        this
      • generalRoleConfig

        @Stability(Stable)
        public ComprehendS3olab.Builder generalRoleConfig​(GeneralRoleProps generalRoleConfig)
        The manageable properties for the IAM role used to access the `survey-results.txt` data.

        Parameters:
        generalRoleConfig - The manageable properties for the IAM role used to access the `survey-results.txt` data. This parameter is required.
        Returns:
        this
      • generateRandomCharacters

        @Stability(Stable)
        public ComprehendS3olab.Builder generateRandomCharacters​(Boolean generateRandomCharacters)
        For distinguish test and normal deployment.

        Default: true

        Parameters:
        generateRandomCharacters - For distinguish test and normal deployment. This parameter is required.
        Returns:
        this
      • s3AccessPointNames

        @Stability(Stable)
        public ComprehendS3olab.Builder s3AccessPointNames​(S3AccessPointNames s3AccessPointNames)
        The names of the S3 access points for the access control case and redaction case.

        Parameters:
        s3AccessPointNames - The names of the S3 access points for the access control case and redaction case. This parameter is required.
        Returns:
        this
      • surveyBucketPrefix

        @Stability(Stable)
        public ComprehendS3olab.Builder surveyBucketPrefix​(String 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.

        Default: 6 random words

        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. This parameter is required.
        Returns:
        this
      • transcriptsBucketPrefix

        @Stability(Stable)
        public ComprehendS3olab.Builder transcriptsBucketPrefix​(String 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.

        Default: 6 random words

        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. This parameter is required.
        Returns:
        this