Class CfnChannel.StaticKeySettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.StaticKeySettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.StaticKeySettingsProperty>
- Enclosing interface:
CfnChannel.StaticKeySettingsProperty
@Stability(Stable)
public static final class CfnChannel.StaticKeySettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.StaticKeySettingsProperty>
A builder for
CfnChannel.StaticKeySettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.keyProviderServer
(IResolvable keyProviderServer) Sets the value ofCfnChannel.StaticKeySettingsProperty.getKeyProviderServer()
keyProviderServer
(CfnChannel.InputLocationProperty keyProviderServer) Sets the value ofCfnChannel.StaticKeySettingsProperty.getKeyProviderServer()
staticKeyValue
(String staticKeyValue) Sets the value ofCfnChannel.StaticKeySettingsProperty.getStaticKeyValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyProviderServer
@Stability(Stable) public CfnChannel.StaticKeySettingsProperty.Builder keyProviderServer(IResolvable keyProviderServer) Sets the value ofCfnChannel.StaticKeySettingsProperty.getKeyProviderServer()
- Parameters:
keyProviderServer
- The URL of the license server that is used for protecting content.- Returns:
this
-
keyProviderServer
@Stability(Stable) public CfnChannel.StaticKeySettingsProperty.Builder keyProviderServer(CfnChannel.InputLocationProperty keyProviderServer) Sets the value ofCfnChannel.StaticKeySettingsProperty.getKeyProviderServer()
- Parameters:
keyProviderServer
- The URL of the license server that is used for protecting content.- Returns:
this
-
staticKeyValue
@Stability(Stable) public CfnChannel.StaticKeySettingsProperty.Builder staticKeyValue(String staticKeyValue) Sets the value ofCfnChannel.StaticKeySettingsProperty.getStaticKeyValue()
- Parameters:
staticKeyValue
- The static key value as a 32 character hexadecimal string.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.StaticKeySettingsProperty>
- Returns:
- a new instance of
CfnChannel.StaticKeySettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-