public static interface DeleteBranchResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDeleteBranchResponse.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 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 deletedBranch(BranchInfo).
deletedBranch - a consumer that will call methods on BranchInfo.BuilderdeletedBranch(BranchInfo)Copyright © 2023. All rights reserved.