public static interface GetBranchResponse.Builder extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<GetBranchResponse.Builder,GetBranchResponse>
Modifier and Type | Method and Description |
---|---|
GetBranchResponse.Builder |
branch(Branch branch)
Sets the value of the Branch property for this object.
|
default GetBranchResponse.Builder |
branch(Consumer<Branch.Builder> branch)
Sets the value of the Branch property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetBranchResponse.Builder branch(Branch branch)
branch
- The new value for the Branch property for this object.default GetBranchResponse.Builder branch(Consumer<Branch.Builder> branch)
Branch.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.