@Stability(value=Stable) public static final class CfnProject.ProjectSourceVersionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnProject.ProjectSourceVersionProperty>
CfnProject.ProjectSourceVersionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnProject.ProjectSourceVersionProperty |
build()
Builds the configured instance.
|
CfnProject.ProjectSourceVersionProperty.Builder |
sourceIdentifier(String sourceIdentifier)
Sets the value of
CfnProject.ProjectSourceVersionProperty.getSourceIdentifier() |
CfnProject.ProjectSourceVersionProperty.Builder |
sourceVersion(String sourceVersion)
Sets the value of
CfnProject.ProjectSourceVersionProperty.getSourceVersion() |
@Stability(value=Stable) public CfnProject.ProjectSourceVersionProperty.Builder sourceIdentifier(String sourceIdentifier)
CfnProject.ProjectSourceVersionProperty.getSourceIdentifier()sourceIdentifier - An identifier for a source in the build project. This parameter is required.
The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.this@Stability(value=Stable) public CfnProject.ProjectSourceVersionProperty.Builder sourceVersion(String sourceVersion)
CfnProject.ProjectSourceVersionProperty.getSourceVersion()sourceVersion - The source version for the corresponding source identifier. If specified, must be one of:.
pr/pull-request-ID (for example, pr/25 ). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .
this@Stability(value=Stable) public CfnProject.ProjectSourceVersionProperty build()
build in interface software.amazon.jsii.Builder<CfnProject.ProjectSourceVersionProperty>CfnProject.ProjectSourceVersionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.