Interface ProcessingResources.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProcessingResources.Builder,,ProcessingResources> SdkBuilder<ProcessingResources.Builder,,ProcessingResources> SdkPojo
- Enclosing class:
ProcessingResources
@Mutable
@NotThreadSafe
public static interface ProcessingResources.Builder
extends SdkPojo, CopyableBuilder<ProcessingResources.Builder,ProcessingResources>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProcessingResources.BuilderclusterConfig(Consumer<ProcessingClusterConfig.Builder> clusterConfig) The configuration for the resources in a cluster used to run the processing job.clusterConfig(ProcessingClusterConfig clusterConfig) The configuration for the resources in a cluster used to run the processing job.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
-
clusterConfig
The configuration for the resources in a cluster used to run the processing job.
- Parameters:
clusterConfig- The configuration for the resources in a cluster used to run the processing job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterConfig
default ProcessingResources.Builder clusterConfig(Consumer<ProcessingClusterConfig.Builder> clusterConfig) The configuration for the resources in a cluster used to run the processing job.
This is a convenience method that creates an instance of theProcessingClusterConfig.Builderavoiding the need to create one manually viaProcessingClusterConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterConfig(ProcessingClusterConfig).- Parameters:
clusterConfig- a consumer that will call methods onProcessingClusterConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-