public static interface GetBranchResponse.Builder extends CodeCommitResponse.Builder, CopyableBuilder<GetBranchResponse.Builder,GetBranchResponse>
| Modifier and Type | Method and Description |
|---|---|
GetBranchResponse.Builder |
branch(BranchInfo branch)
The name of the branch.
|
default GetBranchResponse.Builder |
branch(Consumer<BranchInfo.Builder> branch)
The name of the branch.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetBranchResponse.Builder branch(BranchInfo branch)
The name of the branch.
branch - The name of the branch.default GetBranchResponse.Builder branch(Consumer<BranchInfo.Builder> branch)
The name of the branch.
This is a convenience that creates an instance of theBranchInfo.Builder avoiding the need to create
one manually via BranchInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to branch(BranchInfo).branch - a consumer that will call methods on BranchInfo.Builderbranch(BranchInfo)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.