Interface SpekeKeyProvider.Builder

  • Method Details

    • 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.
    • encryptionContractConfiguration

      default SpekeKeyProvider.Builder encryptionContractConfiguration(Consumer<EncryptionContractConfiguration.Builder> 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. This is a convenience method that creates an instance of the EncryptionContractConfiguration.Builder avoiding the need to create one manually via EncryptionContractConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionContractConfiguration(EncryptionContractConfiguration).

      Parameters:
      encryptionContractConfiguration - a consumer that will call methods on EncryptionContractConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. HLS output groups support a max of 3 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. HLS output groups support a max of 3 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. HLS output groups support a max of 3 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. HLS output groups support a max of 3 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

      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.