Class HlsStaticKeyProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.HlsStaticKeyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HlsStaticKeyProps>
- Enclosing interface:
HlsStaticKeyProps
@Stability(Experimental)
public static final class HlsStaticKeyProps.Builder
extends Object
implements software.amazon.jsii.Builder<HlsStaticKeyProps>
A builder for
HlsStaticKeyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.keyProviderServerUrl(String keyProviderServerUrl) Sets the value ofHlsStaticKeyProps.getKeyProviderServerUrl()staticKeyValue(SecretValue staticKeyValue) Sets the value ofHlsStaticKeyProps.getStaticKeyValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyProviderServerUrl
@Stability(Experimental) public HlsStaticKeyProps.Builder keyProviderServerUrl(String keyProviderServerUrl) Sets the value ofHlsStaticKeyProps.getKeyProviderServerUrl()- Parameters:
keyProviderServerUrl- The URL of the license server that serves the static key. This parameter is required. Required — MediaLive rejects this without a server URL, even though the underlying CloudFormation property is typed as optional.- Returns:
this
-
staticKeyValue
@Stability(Experimental) public HlsStaticKeyProps.Builder staticKeyValue(SecretValue staticKeyValue) Sets the value ofHlsStaticKeyProps.getStaticKeyValue()- Parameters:
staticKeyValue- The static key value as a 32-character hexadecimal string. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HlsStaticKeyProps>- Returns:
- a new instance of
HlsStaticKeyProps - Throws:
NullPointerException- if any required attribute was not provided
-