Interface ExecutorConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExecutorConfiguration.Builder,,ExecutorConfiguration> SdkBuilder<ExecutorConfiguration.Builder,,ExecutorConfiguration> SdkPojo
- Enclosing class:
ExecutorConfiguration
@Mutable
@NotThreadSafe
public static interface ExecutorConfiguration.Builder
extends SdkPojo, CopyableBuilder<ExecutorConfiguration.Builder,ExecutorConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExecutorConfiguration.BuilderjobWorkerExecutorConfiguration(Consumer<JobWorkerExecutorConfiguration.Builder> jobWorkerExecutorConfiguration) Details about theJobWorkerexecutor of the action type.jobWorkerExecutorConfiguration(JobWorkerExecutorConfiguration jobWorkerExecutorConfiguration) Details about theJobWorkerexecutor of the action type.default ExecutorConfiguration.BuilderlambdaExecutorConfiguration(Consumer<LambdaExecutorConfiguration.Builder> lambdaExecutorConfiguration) Details about theLambdaexecutor of the action type.lambdaExecutorConfiguration(LambdaExecutorConfiguration lambdaExecutorConfiguration) Details about theLambdaexecutor of the action type.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
-
lambdaExecutorConfiguration
ExecutorConfiguration.Builder lambdaExecutorConfiguration(LambdaExecutorConfiguration lambdaExecutorConfiguration) Details about the
Lambdaexecutor of the action type.- Parameters:
lambdaExecutorConfiguration- Details about theLambdaexecutor 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 theLambdaexecutor of the action type.LambdaExecutorConfiguration.Builderavoiding the need to create one manually viaLambdaExecutorConfiguration.builder().When the
Consumercompletes,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
JobWorkerexecutor of the action type.- Parameters:
jobWorkerExecutorConfiguration- Details about theJobWorkerexecutor 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 theJobWorkerexecutor of the action type.JobWorkerExecutorConfiguration.Builderavoiding the need to create one manually viaJobWorkerExecutorConfiguration.builder().When the
Consumercompletes,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:
-