public static interface CreateBranchResponse.Builder extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<CreateBranchResponse.Builder,CreateBranchResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateBranchResponse.Builder |
branch(Branch branch)
Describes the branch for an Amplify app, which maps to a third-party repository branch.
|
default CreateBranchResponse.Builder |
branch(Consumer<Branch.Builder> branch)
Describes the branch for an Amplify app, which maps to a third-party repository branch.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateBranchResponse.Builder branch(Branch branch)
Describes the branch for an Amplify app, which maps to a third-party repository branch.
branch - Describes the branch for an Amplify app, which maps to a third-party repository branch.default CreateBranchResponse.Builder branch(Consumer<Branch.Builder> branch)
Describes the branch for an Amplify app, which maps to a third-party repository branch.
This is a convenience method that creates an instance of theBranch.Builder avoiding the need to
create one manually via Branch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to branch(Branch).branch - a consumer that will call methods on Branch.Builderbranch(Branch)Copyright © 2022. All rights reserved.