Interface ListBranchesResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListBranchesResponse.Builder,,ListBranchesResponse> SdkBuilder<ListBranchesResponse.Builder,,ListBranchesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBranchesResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaBranch.builder().When the
Consumercompletes,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.
-