CopyableBuilder<ListBranchesResponse.Builder,ListBranchesResponse>
, SdkBuilder<ListBranchesResponse.Builder,ListBranchesResponse>
public static interface ListBranchesResponse.Builder extends CopyableBuilder<ListBranchesResponse.Builder,ListBranchesResponse>
Modifier and Type | Method | Description |
---|---|---|
ListBranchesResponse.Builder |
branches(String... branches) |
The list of branch names.
|
ListBranchesResponse.Builder |
branches(Collection<String> branches) |
The list of branch names.
|
ListBranchesResponse.Builder |
nextToken(String nextToken) |
An enumeration token that returns the batch of the results.
|
copy
apply, build
ListBranchesResponse.Builder branches(Collection<String> branches)
The list of branch names.
branches
- The list of branch names.ListBranchesResponse.Builder branches(String... branches)
The list of branch names.
NOTE: This method appends the values to the existing list (if any). Use
#setBranches(java.util.Collection)
or #withBranches(java.util.Collection)
if you want to
override the existing values.
branches
- The list of branch names.ListBranchesResponse.Builder nextToken(String nextToken)
An enumeration token that returns the batch of the results.
nextToken
- An enumeration token that returns the batch of the results.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.