Interface ExecutorConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExecutorConfiguration.Builder,
,ExecutorConfiguration> SdkBuilder<ExecutorConfiguration.Builder,
,ExecutorConfiguration> SdkPojo
- Enclosing class:
ExecutorConfiguration
public static interface ExecutorConfiguration.Builder
extends SdkPojo, CopyableBuilder<ExecutorConfiguration.Builder,ExecutorConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExecutorConfiguration.Builder
jobWorkerExecutorConfiguration
(Consumer<JobWorkerExecutorConfiguration.Builder> jobWorkerExecutorConfiguration) Details about theJobWorker
executor of the action type.jobWorkerExecutorConfiguration
(JobWorkerExecutorConfiguration jobWorkerExecutorConfiguration) Details about theJobWorker
executor of the action type.default ExecutorConfiguration.Builder
lambdaExecutorConfiguration
(Consumer<LambdaExecutorConfiguration.Builder> lambdaExecutorConfiguration) Details about theLambda
executor of the action type.lambdaExecutorConfiguration
(LambdaExecutorConfiguration lambdaExecutorConfiguration) Details about theLambda
executor of the action type.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
-
lambdaExecutorConfiguration
ExecutorConfiguration.Builder lambdaExecutorConfiguration(LambdaExecutorConfiguration lambdaExecutorConfiguration) Details about the
Lambda
executor of the action type.- Parameters:
lambdaExecutorConfiguration
- Details about theLambda
executor of the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaExecutorConfiguration
default ExecutorConfiguration.Builder lambdaExecutorConfiguration(Consumer<LambdaExecutorConfiguration.Builder> lambdaExecutorConfiguration) Details about the
This is a convenience method that creates an instance of theLambda
executor of the action type.LambdaExecutorConfiguration.Builder
avoiding the need to create one manually viaLambdaExecutorConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaExecutorConfiguration(LambdaExecutorConfiguration)
.- Parameters:
lambdaExecutorConfiguration
- a consumer that will call methods onLambdaExecutorConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobWorkerExecutorConfiguration
ExecutorConfiguration.Builder jobWorkerExecutorConfiguration(JobWorkerExecutorConfiguration jobWorkerExecutorConfiguration) Details about the
JobWorker
executor of the action type.- Parameters:
jobWorkerExecutorConfiguration
- Details about theJobWorker
executor of the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobWorkerExecutorConfiguration
default ExecutorConfiguration.Builder jobWorkerExecutorConfiguration(Consumer<JobWorkerExecutorConfiguration.Builder> jobWorkerExecutorConfiguration) Details about the
This is a convenience method that creates an instance of theJobWorker
executor of the action type.JobWorkerExecutorConfiguration.Builder
avoiding the need to create one manually viaJobWorkerExecutorConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobWorkerExecutorConfiguration(JobWorkerExecutorConfiguration)
.- Parameters:
jobWorkerExecutorConfiguration
- a consumer that will call methods onJobWorkerExecutorConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-