public static interface DeleteBranchResponse.Builder extends CodeCommitResponse.Builder, CopyableBuilder<DeleteBranchResponse.Builder,DeleteBranchResponse>
Modifier and Type | Method and Description |
---|---|
DeleteBranchResponse.Builder |
deletedBranch(BranchInfo deletedBranch)
Information about the branch deleted by the operation, including the branch name and the commit ID that was
the tip of the branch.
|
default DeleteBranchResponse.Builder |
deletedBranch(Consumer<BranchInfo.Builder> deletedBranch)
Information about the branch deleted by the operation, including the branch name and the commit ID that was
the tip of the branch.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DeleteBranchResponse.Builder deletedBranch(BranchInfo deletedBranch)
Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch.
deletedBranch
- Information about the branch deleted by the operation, including the branch name and the commit ID
that was the tip of the branch.default DeleteBranchResponse.Builder deletedBranch(Consumer<BranchInfo.Builder> deletedBranch)
Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip 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 deletedBranch(BranchInfo)
.deletedBranch
- a consumer that will call methods on BranchInfo.Builder
deletedBranch(BranchInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.