public static interface ProcessingResources.Builder extends SdkPojo, CopyableBuilder<ProcessingResources.Builder,ProcessingResources>
Modifier and Type | Method and Description |
---|---|
default ProcessingResources.Builder |
clusterConfig(Consumer<ProcessingClusterConfig.Builder> clusterConfig)
The configuration for the resources in a cluster used to run the processing job.
|
ProcessingResources.Builder |
clusterConfig(ProcessingClusterConfig clusterConfig)
The configuration for the resources in a cluster used to run the processing job.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ProcessingResources.Builder clusterConfig(ProcessingClusterConfig clusterConfig)
The configuration for the resources in a cluster used to run the processing job.
clusterConfig
- The configuration for the resources in a cluster used to run the processing job.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 that creates an instance of theProcessingClusterConfig.Builder
avoiding the
need to create one manually via ProcessingClusterConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to clusterConfig(ProcessingClusterConfig)
.clusterConfig
- a consumer that will call methods on ProcessingClusterConfig.Builder
clusterConfig(ProcessingClusterConfig)
Copyright © 2020. All rights reserved.