Class OrderedComputeEnvironment.Builder
java.lang.Object
software.amazon.awscdk.services.batch.OrderedComputeEnvironment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrderedComputeEnvironment>
- Enclosing interface:
OrderedComputeEnvironment
@Stability(Stable)
public static final class OrderedComputeEnvironment.Builder
extends Object
implements software.amazon.jsii.Builder<OrderedComputeEnvironment>
A builder for
OrderedComputeEnvironment
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.computeEnvironment
(IComputeEnvironment computeEnvironment) Sets the value ofOrderedComputeEnvironment.getComputeEnvironment()
Sets the value ofOrderedComputeEnvironment.getOrder()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeEnvironment
@Stability(Stable) public OrderedComputeEnvironment.Builder computeEnvironment(IComputeEnvironment computeEnvironment) Sets the value ofOrderedComputeEnvironment.getComputeEnvironment()
- Parameters:
computeEnvironment
- The ComputeEnvironment to link to this JobQueue. This parameter is required.- Returns:
this
-
order
Sets the value ofOrderedComputeEnvironment.getOrder()
- Parameters:
order
- The order associated withcomputeEnvironment
. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OrderedComputeEnvironment>
- Returns:
- a new instance of
OrderedComputeEnvironment
- Throws:
NullPointerException
- if any required attribute was not provided
-