CopyableBuilder<SourceBuildInformation.Builder,SourceBuildInformation>, SdkBuilder<SourceBuildInformation.Builder,SourceBuildInformation>public static interface SourceBuildInformation.Builder extends CopyableBuilder<SourceBuildInformation.Builder,SourceBuildInformation>
| Modifier and Type | Method | 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(String sourceRepository) |
Location where the repository is stored.
|
SourceBuildInformation.Builder |
sourceRepository(SourceRepository sourceRepository) |
Location where the repository is stored.
|
SourceBuildInformation.Builder |
sourceType(String sourceType) |
The type of repository.
|
SourceBuildInformation.Builder |
sourceType(SourceType sourceType) |
The type of repository.
|
copyapply, buildSourceBuildInformation.Builder sourceType(String sourceType)
The type of repository.
Git
Zip
sourceType - The type of repository.
Git
Zip
SourceTypeSourceBuildInformation.Builder sourceType(SourceType sourceType)
The type of repository.
Git
Zip
sourceType - The type of repository.
Git
Zip
SourceTypeSourceBuildInformation.Builder sourceRepository(String sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository - Location where the repository is stored.
CodeCommit
S3
SourceRepositorySourceBuildInformation.Builder sourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository - Location where the repository is stored.
CodeCommit
S3
SourceRepositorySourceBuildInformation.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.