Interface StaticKeySettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StaticKeySettings.Builder,
,StaticKeySettings> SdkBuilder<StaticKeySettings.Builder,
,StaticKeySettings> SdkPojo
- Enclosing class:
StaticKeySettings
public static interface StaticKeySettings.Builder
extends SdkPojo, CopyableBuilder<StaticKeySettings.Builder,StaticKeySettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StaticKeySettings.Builder
keyProviderServer
(Consumer<InputLocation.Builder> keyProviderServer) The URL of the license server used for protecting content.keyProviderServer
(InputLocation keyProviderServer) The URL of the license server used for protecting content.staticKeyValue
(String staticKeyValue) Static key value as a 32 character hexadecimal string.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
keyProviderServer
The URL of the license server used for protecting content.- Parameters:
keyProviderServer
- The URL of the license server used for protecting content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyProviderServer
default StaticKeySettings.Builder keyProviderServer(Consumer<InputLocation.Builder> keyProviderServer) The URL of the license server used for protecting content. This is a convenience method that creates an instance of theInputLocation.Builder
avoiding the need to create one manually viaInputLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyProviderServer(InputLocation)
.- Parameters:
keyProviderServer
- a consumer that will call methods onInputLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
staticKeyValue
Static key value as a 32 character hexadecimal string.- Parameters:
staticKeyValue
- Static key value as a 32 character hexadecimal string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-