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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateBranchRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateBranchRequest.Builder |
repositoryName(String repositoryName)
The name of the repository in which you want to create the new branch.
|
build
overrideConfiguration
copy
applyMutation, build
CreateBranchRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateBranchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.