Interface ListRepositoryAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruReviewerResponse.Builder
,CopyableBuilder<ListRepositoryAssociationsResponse.Builder,
,ListRepositoryAssociationsResponse> SdkBuilder<ListRepositoryAssociationsResponse.Builder,
,ListRepositoryAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRepositoryAssociationsResponse
public static interface ListRepositoryAssociationsResponse.Builder
extends CodeGuruReviewerResponse.Builder, SdkPojo, CopyableBuilder<ListRepositoryAssociationsResponse.Builder,ListRepositoryAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextToken
value to include in a futureListRecommendations
request.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, 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
-
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.Builder
avoiding the need to create one manually viaRepositoryAssociationSummary.builder()
.When the
Consumer
completes,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
nextToken
value to include in a futureListRecommendations
request. When the results of aListRecommendations
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListRecommendations
request. When the results of aListRecommendations
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-