public static interface GetBranchResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 © 2022. All rights reserved.