public static interface StaticKeySettings.Builder extends CopyableBuilder<StaticKeySettings.Builder,StaticKeySettings>
Modifier and Type | Method and Description |
---|---|
default StaticKeySettings.Builder |
keyProviderServer(Consumer<InputLocation.Builder> keyProviderServer)
The URL of the license server used for protecting content.
|
StaticKeySettings.Builder |
keyProviderServer(InputLocation keyProviderServer)
The URL of the license server used for protecting content.
|
StaticKeySettings.Builder |
staticKeyValue(String staticKeyValue)
Static key value as a 32 character hexadecimal string.
|
copy
apply, build
StaticKeySettings.Builder keyProviderServer(InputLocation keyProviderServer)
keyProviderServer
- The URL of the license server used for protecting content.default StaticKeySettings.Builder keyProviderServer(Consumer<InputLocation.Builder> keyProviderServer)
InputLocation.Builder
avoiding the need to create one manually via
InputLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to keyProviderServer(InputLocation)
.keyProviderServer
- a consumer that will call methods on InputLocation.Builder
keyProviderServer(InputLocation)
StaticKeySettings.Builder staticKeyValue(String staticKeyValue)
staticKeyValue
- Static key value as a 32 character hexadecimal string.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.