Interface CodeDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodeDestination.Builder,
,CodeDestination> SdkBuilder<CodeDestination.Builder,
,CodeDestination> SdkPojo
- Enclosing class:
CodeDestination
-
Method Summary
Modifier and TypeMethodDescriptiondefault CodeDestination.Builder
codeCommit
(Consumer<CodeCommitCodeDestination.Builder> codeCommit) Information about the AWS CodeCommit repository to be created in AWS CodeStar.codeCommit
(CodeCommitCodeDestination 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.gitHub
(GitHubCodeDestination gitHub) Information about the GitHub repository to be created in AWS CodeStar.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theCodeCommitCodeDestination.Builder
avoiding the need to create one manually viaCodeCommitCodeDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodeCommit(CodeCommitCodeDestination)
.- Parameters:
codeCommit
- a consumer that will call methods onCodeCommitCodeDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theGitHubCodeDestination.Builder
avoiding the need to create one manually viaGitHubCodeDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togitHub(GitHubCodeDestination)
.- Parameters:
gitHub
- a consumer that will call methods onGitHubCodeDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-