Interface ListGitBranchesResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListGitBranchesResponse.Builder,,ListGitBranchesResponse> SdkBuilder<ListGitBranchesResponse.Builder,,ListGitBranchesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGitBranchesResponse
@Mutable
@NotThreadSafe
public static interface ListGitBranchesResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<ListGitBranchesResponse.Builder,ListGitBranchesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbranches(Collection<GitBranchSummary> branches) The branches of the repository.branches(Consumer<GitBranchSummary.Builder>... branches) The branches of the repository.branches(GitBranchSummary... branches) The branches of the repository.The token to use in the next request to get the next page of results.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.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
The branches of the repository.
- Parameters:
branches- The branches of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branches
The branches of the repository.
- Parameters:
branches- The branches of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branches
The branches of the repository.
This is a convenience method that creates an instance of theGitBranchSummary.Builderavoiding the need to create one manually viaGitBranchSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobranches(List<GitBranchSummary>).- Parameters:
branches- a consumer that will call methods onGitBranchSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in the next request to get the next page of results. This value is absent when there are no more results.
- Parameters:
nextToken- The token to use in the next request to get the next page of results. This value is absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-