public static interface ListBranchesResponse.Builder extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<ListBranchesResponse.Builder,ListBranchesResponse>
Modifier and Type | Method and Description |
---|---|
ListBranchesResponse.Builder |
branches(Branch... branches)
List of branches for an Amplify App.
|
ListBranchesResponse.Builder |
branches(Collection<Branch> branches)
List of branches for an Amplify App.
|
ListBranchesResponse.Builder |
branches(Consumer<Branch.Builder>... branches)
List of branches for an Amplify App.
|
ListBranchesResponse.Builder |
nextToken(String nextToken)
Pagination token.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListBranchesResponse.Builder branches(Collection<Branch> branches)
List of branches for an Amplify App.
branches
- List of branches for an Amplify App.ListBranchesResponse.Builder branches(Branch... branches)
List of branches for an Amplify App.
branches
- List of branches for an Amplify App.ListBranchesResponse.Builder branches(Consumer<Branch.Builder>... branches)
List of branches for an Amplify App.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #branches(List)
.branches
- a consumer that will call methods on List.Builder
#branches(List)
ListBranchesResponse.Builder nextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken
- Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.