public class WorkerPool extends Object
Constructor and Description |
---|
WorkerPool() |
Modifier and Type | Method and Description |
---|---|
ComputeModeOptions |
computeMode()
Get shared or dedicated app hosting.
|
List<String> |
instanceNames()
Get names of all instances in the worker pool (read only).
|
WorkerPool |
withComputeMode(ComputeModeOptions computeMode)
Set shared or dedicated app hosting.
|
WorkerPool |
withWorkerCount(Integer workerCount)
Set number of instances in the worker pool.
|
WorkerPool |
withWorkerSize(String workerSize)
Set vM size of the worker pool instances.
|
WorkerPool |
withWorkerSizeId(Integer workerSizeId)
Set worker size ID for referencing this worker pool.
|
Integer |
workerCount()
Get number of instances in the worker pool.
|
String |
workerSize()
Get vM size of the worker pool instances.
|
Integer |
workerSizeId()
Get worker size ID for referencing this worker pool.
|
public Integer workerSizeId()
public WorkerPool withWorkerSizeId(Integer workerSizeId)
workerSizeId
- the workerSizeId value to setpublic ComputeModeOptions computeMode()
public WorkerPool withComputeMode(ComputeModeOptions computeMode)
computeMode
- the computeMode value to setpublic String workerSize()
public WorkerPool withWorkerSize(String workerSize)
workerSize
- the workerSize value to setpublic Integer workerCount()
public WorkerPool withWorkerCount(Integer workerCount)
workerCount
- the workerCount value to setCopyright © 2019. All rights reserved.