Interface SpekeKeyProvider.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SpekeKeyProvider.Builder,,SpekeKeyProvider> SdkBuilder<SpekeKeyProvider.Builder,,SpekeKeyProvider> SdkPojo
- Enclosing class:
SpekeKeyProvider
public static interface SpekeKeyProvider.Builder
extends SdkPojo, CopyableBuilder<SpekeKeyProvider.Builder,SpekeKeyProvider>
-
Method Summary
Modifier and TypeMethodDescriptioncertificateArn(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.default SpekeKeyProvider.BuilderencryptionContractConfiguration(Consumer<EncryptionContractConfiguration.Builder> encryptionContractConfiguration) Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output.encryptionContractConfiguration(EncryptionContractConfiguration encryptionContractConfiguration) Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output.resourceId(String resourceId) Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.Relates to SPEKE implementation.systemIds(Collection<String> systemIds) Relates to SPEKE implementation.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 theEncryptionContractConfiguration.Builderavoiding the need to create one manually viaEncryptionContractConfiguration.builder().When the
Consumercompletes,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:
-
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. 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
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
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.
-