public static interface CreateBranchResponse.Builder extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<CreateBranchResponse.Builder,CreateBranchResponse>
Modifier and Type | Method and Description |
---|---|
CreateBranchResponse.Builder |
branch(Branch branch)
Branch structure for an Amplify App.
|
default CreateBranchResponse.Builder |
branch(Consumer<Branch.Builder> branch)
Branch structure for an Amplify App.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateBranchResponse.Builder branch(Branch branch)
Branch structure for an Amplify App.
branch
- Branch structure for an Amplify App.default CreateBranchResponse.Builder branch(Consumer<Branch.Builder> branch)
Branch structure for an Amplify App.
This is a convenience 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.Builder
branch(Branch)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.