public static interface InitialCapacityConfig.Builder extends SdkPojo, CopyableBuilder<InitialCapacityConfig.Builder,InitialCapacityConfig>
| Modifier and Type | Method and Description |
|---|---|
default InitialCapacityConfig.Builder |
workerConfiguration(Consumer<WorkerResourceConfig.Builder> workerConfiguration)
The resource configuration of the initial capacity configuration.
|
InitialCapacityConfig.Builder |
workerConfiguration(WorkerResourceConfig workerConfiguration)
The resource configuration of the initial capacity configuration.
|
InitialCapacityConfig.Builder |
workerCount(Long workerCount)
The number of workers in the initial capacity configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInitialCapacityConfig.Builder workerCount(Long workerCount)
The number of workers in the initial capacity configuration.
workerCount - The number of workers in the initial capacity configuration.InitialCapacityConfig.Builder workerConfiguration(WorkerResourceConfig workerConfiguration)
The resource configuration of the initial capacity configuration.
workerConfiguration - The resource configuration of the initial capacity configuration.default InitialCapacityConfig.Builder workerConfiguration(Consumer<WorkerResourceConfig.Builder> workerConfiguration)
The resource configuration of the initial capacity configuration.
This is a convenience method that creates an instance of theWorkerResourceConfig.Builder avoiding
the need to create one manually via WorkerResourceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to workerConfiguration(WorkerResourceConfig).
workerConfiguration - a consumer that will call methods on WorkerResourceConfig.BuilderworkerConfiguration(WorkerResourceConfig)Copyright © 2023. All rights reserved.