Interface ProtectedJobComputeConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectedJobComputeConfiguration.Builder,
,ProtectedJobComputeConfiguration> SdkBuilder<ProtectedJobComputeConfiguration.Builder,
,ProtectedJobComputeConfiguration> SdkPojo
- Enclosing class:
ProtectedJobComputeConfiguration
@Mutable
@NotThreadSafe
public static interface ProtectedJobComputeConfiguration.Builder
extends SdkPojo, CopyableBuilder<ProtectedJobComputeConfiguration.Builder,ProtectedJobComputeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe worker configuration for the compute environment.The worker configuration for the compute environment.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, sdkFieldNameToField, sdkFields
-
Method Details
-
worker
The worker configuration for the compute environment.
- Parameters:
worker
- The worker configuration for the compute environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
worker
default ProtectedJobComputeConfiguration.Builder worker(Consumer<ProtectedJobWorkerComputeConfiguration.Builder> worker) The worker configuration for the compute environment.
This is a convenience method that creates an instance of theProtectedJobWorkerComputeConfiguration.Builder
avoiding the need to create one manually viaProtectedJobWorkerComputeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworker(ProtectedJobWorkerComputeConfiguration)
.- Parameters:
worker
- a consumer that will call methods onProtectedJobWorkerComputeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-