Interface ListRepositoriesInDomainResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeartifactResponse.Builder
,CopyableBuilder<ListRepositoriesInDomainResponse.Builder,
,ListRepositoriesInDomainResponse> SdkBuilder<ListRepositoriesInDomainResponse.Builder,
,ListRepositoriesInDomainResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRepositoriesInDomainResponse
public static interface ListRepositoriesInDomainResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListRepositoriesInDomainResponse.Builder,ListRepositoriesInDomainResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.repositories
(Collection<RepositorySummary> repositories) The returned list of repositories.repositories
(Consumer<RepositorySummary.Builder>... repositories) The returned list of repositories.repositories
(RepositorySummary... repositories) The returned list of repositories.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.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
-
repositories
The returned list of repositories.
- Parameters:
repositories
- The returned list of repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositories
The returned list of repositories.
- Parameters:
repositories
- The returned list of repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositories
ListRepositoriesInDomainResponse.Builder repositories(Consumer<RepositorySummary.Builder>... repositories) The returned list of repositories.
This is a convenience method that creates an instance of theRepositorySummary.Builder
avoiding the need to create one manually viaRepositorySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepositories(List<RepositorySummary>)
.- Parameters:
repositories
- a consumer that will call methods onRepositorySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-