Class JobQueueComputeEnvironment.Builder
java.lang.Object
software.amazon.awscdk.services.batch.JobQueueComputeEnvironment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<JobQueueComputeEnvironment>
- Enclosing interface:
- JobQueueComputeEnvironment
@Stability(Experimental)
public static final class JobQueueComputeEnvironment.Builder
extends Object
implements software.amazon.jsii.Builder<JobQueueComputeEnvironment>
A builder for
JobQueueComputeEnvironment
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.computeEnvironment
(IComputeEnvironment computeEnvironment) Sets the value ofJobQueueComputeEnvironment.getComputeEnvironment()
Sets the value ofJobQueueComputeEnvironment.getOrder()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeEnvironment
@Stability(Experimental) public JobQueueComputeEnvironment.Builder computeEnvironment(IComputeEnvironment computeEnvironment) Sets the value ofJobQueueComputeEnvironment.getComputeEnvironment()
- Parameters:
computeEnvironment
- The batch compute environment to use for processing submitted jobs to this queue. This parameter is required.- Returns:
this
-
order
Sets the value ofJobQueueComputeEnvironment.getOrder()
- Parameters:
order
- The order in which this compute environment will be selected for dynamic allocation of resources to process submitted jobs. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<JobQueueComputeEnvironment>
- Returns:
- a new instance of
JobQueueComputeEnvironment
- Throws:
NullPointerException
- if any required attribute was not provided
-