Interface ContentRedaction.Builder

    • Method Detail

      • redactionType

        ContentRedaction.Builder redactionType​(String redactionType)

        Specify the category of information you want to redact; PII (personally identifiable information) is the only valid value. You can use PiiEntityTypes to choose which types of PII you want to redact.

        Parameters:
        redactionType - Specify the category of information you want to redact; PII (personally identifiable information) is the only valid value. You can use PiiEntityTypes to choose which types of PII you want to redact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RedactionType, RedactionType
      • redactionType

        ContentRedaction.Builder redactionType​(RedactionType redactionType)

        Specify the category of information you want to redact; PII (personally identifiable information) is the only valid value. You can use PiiEntityTypes to choose which types of PII you want to redact.

        Parameters:
        redactionType - Specify the category of information you want to redact; PII (personally identifiable information) is the only valid value. You can use PiiEntityTypes to choose which types of PII you want to redact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RedactionType, RedactionType
      • redactionOutput

        ContentRedaction.Builder redactionOutput​(String redactionOutput)

        Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.

        When you choose redacted Amazon Transcribe creates only a redacted transcript.

        When you choose redacted_and_unredacted Amazon Transcribe creates a redacted and an unredacted transcript (as two separate files).

        Parameters:
        redactionOutput - Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.

        When you choose redacted Amazon Transcribe creates only a redacted transcript.

        When you choose redacted_and_unredacted Amazon Transcribe creates a redacted and an unredacted transcript (as two separate files).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RedactionOutput, RedactionOutput
      • redactionOutput

        ContentRedaction.Builder redactionOutput​(RedactionOutput redactionOutput)

        Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.

        When you choose redacted Amazon Transcribe creates only a redacted transcript.

        When you choose redacted_and_unredacted Amazon Transcribe creates a redacted and an unredacted transcript (as two separate files).

        Parameters:
        redactionOutput - Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.

        When you choose redacted Amazon Transcribe creates only a redacted transcript.

        When you choose redacted_and_unredacted Amazon Transcribe creates a redacted and an unredacted transcript (as two separate files).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RedactionOutput, RedactionOutput
      • piiEntityTypesWithStrings

        ContentRedaction.Builder piiEntityTypesWithStrings​(Collection<String> piiEntityTypes)

        Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

        Parameters:
        piiEntityTypes - Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • piiEntityTypesWithStrings

        ContentRedaction.Builder piiEntityTypesWithStrings​(String... piiEntityTypes)

        Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

        Parameters:
        piiEntityTypes - Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • piiEntityTypes

        ContentRedaction.Builder piiEntityTypes​(Collection<PiiEntityType> piiEntityTypes)

        Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

        Parameters:
        piiEntityTypes - Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • piiEntityTypes

        ContentRedaction.Builder piiEntityTypes​(PiiEntityType... piiEntityTypes)

        Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

        Parameters:
        piiEntityTypes - Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.