Interface ListRepositoryAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruReviewerResponse.Builder,CopyableBuilder<ListRepositoryAssociationsResponse.Builder,,ListRepositoryAssociationsResponse> SdkBuilder<ListRepositoryAssociationsResponse.Builder,,ListRepositoryAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRepositoryAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListRepositoryAssociationsResponse.Builder
extends CodeGuruReviewerResponse.Builder, SdkPojo, CopyableBuilder<ListRepositoryAssociationsResponse.Builder,ListRepositoryAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextTokenvalue to include in a futureListRecommendationsrequest.repositoryAssociationSummaries(Collection<RepositoryAssociationSummary> repositoryAssociationSummaries) A list of repository associations that meet the criteria of the request.repositoryAssociationSummaries(Consumer<RepositoryAssociationSummary.Builder>... repositoryAssociationSummaries) A list of repository associations that meet the criteria of the request.repositoryAssociationSummaries(RepositoryAssociationSummary... repositoryAssociationSummaries) A list of repository associations that meet the criteria of the request.Methods inherited from interface software.amazon.awssdk.services.codegurureviewer.model.CodeGuruReviewerResponse.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
-
repositoryAssociationSummaries
ListRepositoryAssociationsResponse.Builder repositoryAssociationSummaries(Collection<RepositoryAssociationSummary> repositoryAssociationSummaries) A list of repository associations that meet the criteria of the request.
- Parameters:
repositoryAssociationSummaries- A list of repository associations that meet the criteria of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryAssociationSummaries
ListRepositoryAssociationsResponse.Builder repositoryAssociationSummaries(RepositoryAssociationSummary... repositoryAssociationSummaries) A list of repository associations that meet the criteria of the request.
- Parameters:
repositoryAssociationSummaries- A list of repository associations that meet the criteria of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryAssociationSummaries
ListRepositoryAssociationsResponse.Builder repositoryAssociationSummaries(Consumer<RepositoryAssociationSummary.Builder>... repositoryAssociationSummaries) A list of repository associations that meet the criteria of the request.
This is a convenience method that creates an instance of theRepositoryAssociationSummary.Builderavoiding the need to create one manually viaRepositoryAssociationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositoryAssociationSummaries(List<RepositoryAssociationSummary>).- Parameters:
repositoryAssociationSummaries- a consumer that will call methods onRepositoryAssociationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a futureListRecommendationsrequest. When the results of aListRecommendationsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListRecommendationsrequest. When the results of aListRecommendationsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-