Interface SpekeKeyProvider.Builder

    • Method Detail

      • certificateArn

        SpekeKeyProvider.Builder certificateArn​(String certificateArn)
        If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here.
        Parameters:
        certificateArn - If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionContractConfiguration

        SpekeKeyProvider.Builder encryptionContractConfiguration​(EncryptionContractConfiguration encryptionContractConfiguration)
        Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset.
        Parameters:
        encryptionContractConfiguration - Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceId

        SpekeKeyProvider.Builder resourceId​(String resourceId)
        Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.
        Parameters:
        resourceId - Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • systemIds

        SpekeKeyProvider.Builder systemIds​(Collection<String> systemIds)
        Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id. See https://dashif.org/identifiers/content_protection/ for more details.
        Parameters:
        systemIds - Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id. See https://dashif.org/identifiers/content_protection/ for more details.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • systemIds

        SpekeKeyProvider.Builder systemIds​(String... systemIds)
        Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id. See https://dashif.org/identifiers/content_protection/ for more details.
        Parameters:
        systemIds - Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id. See https://dashif.org/identifiers/content_protection/ for more details.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • url

        SpekeKeyProvider.Builder url​(String url)
        Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content.
        Parameters:
        url - Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.