@Stability(value=Stable)
public static interface CfnProject.ProjectSourceVersionProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
ProjectSourceVersionProperty projectSourceVersionProperty = ProjectSourceVersionProperty.builder()
.sourceIdentifier("sourceIdentifier")
// the properties below are optional
.sourceVersion("sourceVersion")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.ProjectSourceVersionProperty.Builder
A builder for
CfnProject.ProjectSourceVersionProperty |
static class |
CfnProject.ProjectSourceVersionProperty.Jsii$Proxy
An implementation for
CfnProject.ProjectSourceVersionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.ProjectSourceVersionProperty.Builder |
builder() |
String |
getSourceIdentifier()
An identifier for a source in the build project.
|
default String |
getSourceVersion()
The source version for the corresponding source identifier.
|
@Stability(value=Stable) @NotNull String getSourceIdentifier()
The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
@Stability(value=Stable) @Nullable default String getSourceVersion()
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 .
@Stability(value=Stable) static CfnProject.ProjectSourceVersionProperty.Builder builder()
Copyright © 2022. All rights reserved.