Class CfnProject.GitSubmodulesConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.CfnProject.GitSubmodulesConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProject.GitSubmodulesConfigProperty>
- Enclosing interface:
CfnProject.GitSubmodulesConfigProperty
@Stability(Stable)
public static final class CfnProject.GitSubmodulesConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProject.GitSubmodulesConfigProperty>
A builder for
CfnProject.GitSubmodulesConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fetchSubmodules
(Boolean fetchSubmodules) Sets the value ofCfnProject.GitSubmodulesConfigProperty.getFetchSubmodules()
fetchSubmodules
(IResolvable fetchSubmodules) Sets the value ofCfnProject.GitSubmodulesConfigProperty.getFetchSubmodules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fetchSubmodules
@Stability(Stable) public CfnProject.GitSubmodulesConfigProperty.Builder fetchSubmodules(Boolean fetchSubmodules) Sets the value ofCfnProject.GitSubmodulesConfigProperty.getFetchSubmodules()
- Parameters:
fetchSubmodules
- Set to true to fetch Git submodules for your AWS CodeBuild build project. This parameter is required.- Returns:
this
-
fetchSubmodules
@Stability(Stable) public CfnProject.GitSubmodulesConfigProperty.Builder fetchSubmodules(IResolvable fetchSubmodules) Sets the value ofCfnProject.GitSubmodulesConfigProperty.getFetchSubmodules()
- Parameters:
fetchSubmodules
- Set to true to fetch Git submodules for your AWS CodeBuild build project. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProject.GitSubmodulesConfigProperty>
- Returns:
- a new instance of
CfnProject.GitSubmodulesConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-