Class WorkerConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.WorkerConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkerConfiguration>
- Enclosing interface:
WorkerConfiguration
@Stability(Deprecated)
@Deprecated
public static final class WorkerConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<WorkerConfiguration>
Deprecated.
A builder for
WorkerConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.numberOfWorkers(Number numberOfWorkers) Deprecated.workerType(WorkerType workerType) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
numberOfWorkers
@Stability(Deprecated) @Deprecated public WorkerConfiguration.Builder numberOfWorkers(Number numberOfWorkers) Deprecated.Sets the value ofWorkerConfiguration.getNumberOfWorkers()- Parameters:
numberOfWorkers- The number of workers of the givenworkerTypethat are allocated when a job runs. This parameter is required.- Returns:
this
-
workerType
@Stability(Deprecated) @Deprecated public WorkerConfiguration.Builder workerType(WorkerType workerType) Deprecated.Sets the value ofWorkerConfiguration.getWorkerType()- Parameters:
workerType- The type of predefined worker that is allocated when a job runs. This parameter is required. Enum options: Standard, G_1X, G_2X, G_025X, G_4X, G_8X, Z_2X- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkerConfiguration>- Returns:
- a new instance of
WorkerConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-