Class ArtifactsConfig.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.ArtifactsConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ArtifactsConfig>
- Enclosing interface:
ArtifactsConfig
@Stability(Stable)
public static final class ArtifactsConfig.Builder
extends Object
implements software.amazon.jsii.Builder<ArtifactsConfig>
A builder for
ArtifactsConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionartifactsProperty
(CfnProject.ArtifactsProperty artifactsProperty) Sets the value ofArtifactsConfig.getArtifactsProperty()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactsProperty
@Stability(Stable) public ArtifactsConfig.Builder artifactsProperty(CfnProject.ArtifactsProperty artifactsProperty) Sets the value ofArtifactsConfig.getArtifactsProperty()
- Parameters:
artifactsProperty
- The low-level CloudFormation artifacts property. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ArtifactsConfig>
- Returns:
- a new instance of
ArtifactsConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-