public static interface SourceBuildInformation.Builder extends CopyableBuilder<SourceBuildInformation.Builder,SourceBuildInformation>
Modifier and Type | Method and Description |
---|---|
SourceBuildInformation.Builder |
sourceLocation(String sourceLocation)
The location of the source code, as a formatted string, depending on the value of
SourceRepository |
SourceBuildInformation.Builder |
sourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
|
SourceBuildInformation.Builder |
sourceRepository(String sourceRepository)
Location where the repository is stored.
|
SourceBuildInformation.Builder |
sourceType(SourceType sourceType)
The type of repository.
|
SourceBuildInformation.Builder |
sourceType(String sourceType)
The type of repository.
|
copy
applyMutation, build
SourceBuildInformation.Builder sourceType(String sourceType)
The type of repository.
Git
Zip
sourceType
- The type of repository.
Git
Zip
SourceType
,
SourceType
SourceBuildInformation.Builder sourceType(SourceType sourceType)
The type of repository.
Git
Zip
sourceType
- The type of repository.
Git
Zip
SourceType
,
SourceType
SourceBuildInformation.Builder sourceRepository(String sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository
- Location where the repository is stored.
CodeCommit
S3
SourceRepository
,
SourceRepository
SourceBuildInformation.Builder sourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository
- Location where the repository is stored.
CodeCommit
S3
SourceRepository
,
SourceRepository
SourceBuildInformation.Builder sourceLocation(String sourceLocation)
The location of the source code, as a formatted string, depending on the value of
SourceRepository
For CodeCommit
, the format is the repository name and commit ID, separated by a forward slash.
For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a
.
For S3
, the format is the S3 bucket name and object key, separated by a forward slash. For
example, my-s3-bucket/Folders/my-source-file
.
sourceLocation
- The location of the source code, as a formatted string, depending on the value of
SourceRepository
For CodeCommit
, the format is the repository name and commit ID, separated by a forward
slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a
.
For S3
, the format is the S3 bucket name and object key, separated by a forward slash.
For example, my-s3-bucket/Folders/my-source-file
.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.