Class BuildBatchReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.codebuild.BuildBatchReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BuildBatchReference>
- Enclosing interface:
BuildBatchReference
@Stability(Stable)
public static final class BuildBatchReference.Builder
extends Object
implements software.amazon.jsii.Builder<BuildBatchReference>
A builder for
BuildBatchReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.buildBatchArn(String buildBatchArn) Sets the value ofBuildBatchReference.getBuildBatchArn()buildBatchId(String buildBatchId) Sets the value ofBuildBatchReference.getBuildBatchId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buildBatchArn
Sets the value ofBuildBatchReference.getBuildBatchArn()- Parameters:
buildBatchArn- The ARN of the BuildBatch resource. This parameter is required.- Returns:
this
-
buildBatchId
Sets the value ofBuildBatchReference.getBuildBatchId()- Parameters:
buildBatchId- The Id of the BuildBatch resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BuildBatchReference>- Returns:
- a new instance of
BuildBatchReference - Throws:
NullPointerException- if any required attribute was not provided
-