Class ComputeEnvironmentReference.Builder
java.lang.Object
software.amazon.awscdk.services.batch.ComputeEnvironmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeEnvironmentReference>
- Enclosing interface:
ComputeEnvironmentReference
@Stability(Stable)
public static final class ComputeEnvironmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<ComputeEnvironmentReference>
A builder for
ComputeEnvironmentReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.computeEnvironmentArn
(String computeEnvironmentArn) Sets the value ofComputeEnvironmentReference.getComputeEnvironmentArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeEnvironmentArn
@Stability(Stable) public ComputeEnvironmentReference.Builder computeEnvironmentArn(String computeEnvironmentArn) Sets the value ofComputeEnvironmentReference.getComputeEnvironmentArn()
- Parameters:
computeEnvironmentArn
- The ComputeEnvironmentArn of the ComputeEnvironment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ComputeEnvironmentReference>
- Returns:
- a new instance of
ComputeEnvironmentReference
- Throws:
NullPointerException
- if any required attribute was not provided
-