Interface SpekeKeyProviderCmaf.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SpekeKeyProviderCmaf.Builder,SpekeKeyProviderCmaf>
,SdkBuilder<SpekeKeyProviderCmaf.Builder,SpekeKeyProviderCmaf>
,SdkPojo
- Enclosing class:
- SpekeKeyProviderCmaf
public static interface SpekeKeyProviderCmaf.Builder extends SdkPojo, CopyableBuilder<SpekeKeyProviderCmaf.Builder,SpekeKeyProviderCmaf>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SpekeKeyProviderCmaf.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.SpekeKeyProviderCmaf.Builder
dashSignaledSystemIds(String... dashSignaledSystemIds)
Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package.SpekeKeyProviderCmaf.Builder
dashSignaledSystemIds(Collection<String> dashSignaledSystemIds)
Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package.default SpekeKeyProviderCmaf.Builder
encryptionContractConfiguration(Consumer<EncryptionContractConfiguration.Builder> encryptionContractConfiguration)
Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output.SpekeKeyProviderCmaf.Builder
encryptionContractConfiguration(EncryptionContractConfiguration encryptionContractConfiguration)
Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output.SpekeKeyProviderCmaf.Builder
hlsSignaledSystemIds(String... hlsSignaledSystemIds)
Specify up to 3 DRM system IDs that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package.SpekeKeyProviderCmaf.Builder
hlsSignaledSystemIds(Collection<String> hlsSignaledSystemIds)
Specify up to 3 DRM system IDs that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package.SpekeKeyProviderCmaf.Builder
resourceId(String resourceId)
Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.SpekeKeyProviderCmaf.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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
certificateArn
SpekeKeyProviderCmaf.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.
-
dashSignaledSystemIds
SpekeKeyProviderCmaf.Builder dashSignaledSystemIds(Collection<String> dashSignaledSystemIds)
Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package. The DASH manifest can currently signal up to three system IDs. For more information, see https://dashif.org/identifiers/content_protection/.- Parameters:
dashSignaledSystemIds
- Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package. The DASH manifest can currently signal up to three system IDs. For more information, see https://dashif.org/identifiers/content_protection/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashSignaledSystemIds
SpekeKeyProviderCmaf.Builder dashSignaledSystemIds(String... dashSignaledSystemIds)
Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package. The DASH manifest can currently signal up to three system IDs. For more information, see https://dashif.org/identifiers/content_protection/.- Parameters:
dashSignaledSystemIds
- Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package. The DASH manifest can currently signal up to three system IDs. For more information, see https://dashif.org/identifiers/content_protection/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionContractConfiguration
SpekeKeyProviderCmaf.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 SpekeKeyProviderCmaf.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 theEncryptionContractConfiguration.Builder
avoiding the need to create one manually viaEncryptionContractConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionContractConfiguration(EncryptionContractConfiguration)
.- Parameters:
encryptionContractConfiguration
- a consumer that will call methods onEncryptionContractConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionContractConfiguration(EncryptionContractConfiguration)
-
hlsSignaledSystemIds
SpekeKeyProviderCmaf.Builder hlsSignaledSystemIds(Collection<String> hlsSignaledSystemIds)
Specify up to 3 DRM system IDs that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. For more information, see https://dashif.org/identifiers/content_protection/.- Parameters:
hlsSignaledSystemIds
- Specify up to 3 DRM system IDs that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. For more information, see https://dashif.org/identifiers/content_protection/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hlsSignaledSystemIds
SpekeKeyProviderCmaf.Builder hlsSignaledSystemIds(String... hlsSignaledSystemIds)
Specify up to 3 DRM system IDs that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. For more information, see https://dashif.org/identifiers/content_protection/.- Parameters:
hlsSignaledSystemIds
- Specify up to 3 DRM system IDs that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. For more information, see https://dashif.org/identifiers/content_protection/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
SpekeKeyProviderCmaf.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.
-
url
SpekeKeyProviderCmaf.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.
-
-