Interface ConcurrentExecutorConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConcurrentExecutorConfiguration.Builder,,ConcurrentExecutorConfiguration> SdkBuilder<ConcurrentExecutorConfiguration.Builder,,ConcurrentExecutorConfiguration> SdkPojo
- Enclosing class:
ConcurrentExecutorConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionfunctionList(Collection<FunctionRef> functionList) The list of child functions that MediaTailor runs in parallel.functionList(Consumer<FunctionRef.Builder>... functionList) The list of child functions that MediaTailor runs in parallel.functionList(FunctionRef... functionList) The list of child functions that MediaTailor runs in parallel.maxConcurrency(Integer maxConcurrency) The maximum number of child functions that MediaTailor runs simultaneously.A map of output bindings that controls which bindings the executor commits to the session state after all child functions complete.The expression language used to evaluate expressions in the function configuration.runtime(RuntimeType runtime) The expression language used to evaluate expressions in the function configuration.timeoutMilliseconds(Integer timeoutMilliseconds) The maximum time, in milliseconds, for all child functions to complete.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
runtime
The expression language used to evaluate expressions in the function configuration. Set this to
JSONata.- Parameters:
runtime- The expression language used to evaluate expressions in the function configuration. Set this toJSONata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtime
The expression language used to evaluate expressions in the function configuration. Set this to
JSONata.- Parameters:
runtime- The expression language used to evaluate expressions in the function configuration. Set this toJSONata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
output
A map of output bindings that controls which bindings the executor commits to the session state after all child functions complete. Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the combined results of the child functions.
- Parameters:
output- A map of output bindings that controls which bindings the executor commits to the session state after all child functions complete. Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the combined results of the child functions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionList
The list of child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs.
- Parameters:
functionList- The list of child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionList
The list of child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs.
- Parameters:
functionList- The list of child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionList
The list of child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs.
This is a convenience method that creates an instance of theFunctionRef.Builderavoiding the need to create one manually viaFunctionRef.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofunctionList(List<FunctionRef>).- Parameters:
functionList- a consumer that will call methods onFunctionRef.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutMilliseconds
The maximum time, in milliseconds, for all child functions to complete. This timeout covers every function in the list, including any HTTP calls the child functions make. If the executor exceeds this timeout, MediaTailor discards all output from the executor and proceeds with default behavior.
- Parameters:
timeoutMilliseconds- The maximum time, in milliseconds, for all child functions to complete. This timeout covers every function in the list, including any HTTP calls the child functions make. If the executor exceeds this timeout, MediaTailor discards all output from the executor and proceeds with default behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxConcurrency
The maximum number of child functions that MediaTailor runs simultaneously. When the list contains more functions than
MaxConcurrency, MediaTailor starts additional functions as running ones complete, so that no more thanMaxConcurrencyfunctions run at the same time.- Parameters:
maxConcurrency- The maximum number of child functions that MediaTailor runs simultaneously. When the list contains more functions thanMaxConcurrency, MediaTailor starts additional functions as running ones complete, so that no more thanMaxConcurrencyfunctions run at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-