Class IsmSpekeEncryptionProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.IsmSpekeEncryptionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IsmSpekeEncryptionProps>
- Enclosing interface:
IsmSpekeEncryptionProps
@Stability(Experimental)
public static final class IsmSpekeEncryptionProps.Builder
extends Object
implements software.amazon.jsii.Builder<IsmSpekeEncryptionProps>
A builder for
IsmSpekeEncryptionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificate(ICertificate certificate) Sets the value ofIsmSpekeEncryptionProps.getCertificate()drmSystems(List<? extends IsmDrmSystem> drmSystems) Sets the value ofIsmSpekeEncryptionProps.getDrmSystems()resourceId(String resourceId) Sets the value ofIsmSpekeEncryptionProps.getResourceId()Sets the value ofIsmSpekeEncryptionProps.getRole()Sets the value ofIsmSpekeEncryptionProps.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceId
Sets the value ofIsmSpekeEncryptionProps.getResourceId()- Parameters:
resourceId- The unique identifier for the content. This parameter is required.- Returns:
this
-
role
Sets the value ofIsmSpekeEncryptionProps.getRole()- Parameters:
role- IAM role for accessing the key provider API. This parameter is required.- Returns:
this
-
url
Sets the value ofIsmSpekeEncryptionProps.getUrl()- Parameters:
url- URL of the SPEKE key provider. This parameter is required.- Returns:
this
-
certificate
@Stability(Experimental) public IsmSpekeEncryptionProps.Builder certificate(ICertificate certificate) Sets the value ofIsmSpekeEncryptionProps.getCertificate()- Parameters:
certificate- The ARN of the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint.- Returns:
this
-
drmSystems
@Stability(Experimental) public IsmSpekeEncryptionProps.Builder drmSystems(List<? extends IsmDrmSystem> drmSystems) Sets the value ofIsmSpekeEncryptionProps.getDrmSystems()- Parameters:
drmSystems- The DRM systems to use for content protection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IsmSpekeEncryptionProps>- Returns:
- a new instance of
IsmSpekeEncryptionProps - Throws:
NullPointerException- if any required attribute was not provided
-