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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBranchesResponse.Builderbranches(Collection<Branch> branches)A list of branches for an Amplify app.ListBranchesResponse.Builderbranches(Consumer<Branch.Builder>... branches)A list of branches for an Amplify app.ListBranchesResponse.Builderbranches(Branch... branches)A list of branches for an Amplify app.ListBranchesResponse.BuildernextToken(String nextToken)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 Detail
-
branches
ListBranchesResponse.Builder branches(Collection<Branch> 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
ListBranchesResponse.Builder branches(Branch... 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
ListBranchesResponse.Builder branches(Consumer<Branch.Builder>... branches)
A list of branches for an Amplify app.
This is a convenience method that creates an instance of theBranch.Builderavoiding the need to create one manually viaBranch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#branches(List.) - 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:
#branches(java.util.Collection)
-
nextToken
ListBranchesResponse.Builder nextToken(String 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.
-
-