Interface ListBranchesResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBranchesResponse.Builder,
,ListBranchesResponse> SdkBuilder<ListBranchesResponse.Builder,
,ListBranchesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBranchesResponse
public static interface ListBranchesResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<ListBranchesResponse.Builder,ListBranchesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbranches
(Collection<Branch> branches) A list of branches for an Amplify app.branches
(Consumer<Branch.Builder>... branches) A list of branches for an Amplify app.A list of branches for an Amplify app.A pagination token.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
branches
A list of branches for an Amplify app.
- Parameters:
branches
- A list of branches for an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branches
A list of branches for an Amplify app.
- Parameters:
branches
- A list of branches for an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branches
A list of branches for an Amplify app.
This is a convenience method that creates an instance of theBranch.Builder
avoiding the need to create one manually viaBranch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobranches(List<Branch>)
.- Parameters:
branches
- a consumer that will call methods onBranch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
- Parameters:
nextToken
- A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-