public static interface CreateBranchRequest.Builder extends CodeCommitRequest.Builder, CopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateBranchRequest.Builder |
branchName(String branchName)
The name of the new branch to create.
|
CreateBranchRequest.Builder |
commitId(String commitId)
The ID of the commit to point the new branch to.
|
CreateBranchRequest.Builder |
repositoryName(String repositoryName)
The name of the repository in which you want to create the new branch.
|
CreateBranchRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateBranchRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCreateBranchRequest.Builder repositoryName(String repositoryName)
The name of the repository in which you want to create the new branch.
repositoryName - The name of the repository in which you want to create the new branch.CreateBranchRequest.Builder branchName(String branchName)
The name of the new branch to create.
branchName - The name of the new branch to create.CreateBranchRequest.Builder commitId(String commitId)
The ID of the commit to point the new branch to.
commitId - The ID of the commit to point the new branch to.CreateBranchRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateBranchRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.