Interface ComputeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeConfiguration.Builder,,ComputeConfiguration> SdkBuilder<ComputeConfiguration.Builder,,ComputeConfiguration> SdkPojo
- Enclosing class:
ComputeConfiguration
@Mutable
@NotThreadSafe
public static interface ComputeConfiguration.Builder
extends SdkPojo, CopyableBuilder<ComputeConfiguration.Builder,ComputeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ComputeConfiguration.BuilderThe worker instances that will perform the compute work.worker(WorkerComputeConfiguration worker) The worker instances that will perform the compute work.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
-
worker
The worker instances that will perform the compute work.
- Parameters:
worker- The worker instances that will perform the compute work.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
worker
The worker instances that will perform the compute work.
This is a convenience method that creates an instance of theWorkerComputeConfiguration.Builderavoiding the need to create one manually viaWorkerComputeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworker(WorkerComputeConfiguration).- Parameters:
worker- a consumer that will call methods onWorkerComputeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-