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
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 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.Builderavoiding the need to create one manually viaProtectedJobWorkerComputeConfiguration.builder().When the
Consumercompletes,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:
-