public static interface CodeDestination.Builder extends SdkPojo, CopyableBuilder<CodeDestination.Builder,CodeDestination>
Modifier and Type | Method and Description |
---|---|
CodeDestination.Builder |
codeCommit(CodeCommitCodeDestination codeCommit)
Information about the AWS CodeCommit repository to be created in AWS CodeStar.
|
default CodeDestination.Builder |
codeCommit(Consumer<CodeCommitCodeDestination.Builder> codeCommit)
Information about the AWS CodeCommit repository to be created in AWS CodeStar.
|
default CodeDestination.Builder |
gitHub(Consumer<GitHubCodeDestination.Builder> gitHub)
Information about the GitHub repository to be created in AWS CodeStar.
|
CodeDestination.Builder |
gitHub(GitHubCodeDestination gitHub)
Information about the GitHub repository to be created in AWS CodeStar.
|
copy
applyMutation, build
CodeDestination.Builder codeCommit(CodeCommitCodeDestination codeCommit)
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
codeCommit
- Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the
source code files provided with the project request will be uploaded after project creation.default CodeDestination.Builder codeCommit(Consumer<CodeCommitCodeDestination.Builder> codeCommit)
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
This is a convenience that creates an instance of theCodeCommitCodeDestination.Builder
avoiding the
need to create one manually via CodeCommitCodeDestination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to codeCommit(CodeCommitCodeDestination)
.codeCommit
- a consumer that will call methods on CodeCommitCodeDestination.Builder
codeCommit(CodeCommitCodeDestination)
CodeDestination.Builder gitHub(GitHubCodeDestination gitHub)
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
gitHub
- Information about the GitHub repository to be created in AWS CodeStar. This is where the source code
files provided with the project request will be uploaded after project creation.default CodeDestination.Builder gitHub(Consumer<GitHubCodeDestination.Builder> gitHub)
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
This is a convenience that creates an instance of theGitHubCodeDestination.Builder
avoiding the need
to create one manually via GitHubCodeDestination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to gitHub(GitHubCodeDestination)
.gitHub
- a consumer that will call methods on GitHubCodeDestination.Builder
gitHub(GitHubCodeDestination)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.