Interface DescribeRepositoriesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeRepositoriesResponse.Builder,DescribeRepositoriesResponse>
,EcrResponse.Builder
,SdkBuilder<DescribeRepositoriesResponse.Builder,DescribeRepositoriesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeRepositoriesResponse
public static interface DescribeRepositoriesResponse.Builder extends EcrResponse.Builder, SdkPojo, CopyableBuilder<DescribeRepositoriesResponse.Builder,DescribeRepositoriesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeRepositoriesResponse.Builder
nextToken(String nextToken)
ThenextToken
value to include in a futureDescribeRepositories
request.DescribeRepositoriesResponse.Builder
repositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.DescribeRepositoriesResponse.Builder
repositories(Consumer<Repository.Builder>... repositories)
A list of repository objects corresponding to valid repositories.DescribeRepositoriesResponse.Builder
repositories(Repository... repositories)
A list of repository objects corresponding to valid repositories.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadata
-
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 Detail
-
repositories
DescribeRepositoriesResponse.Builder repositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.
- Parameters:
repositories
- A list of repository objects corresponding to valid repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositories
DescribeRepositoriesResponse.Builder repositories(Repository... repositories)
A list of repository objects corresponding to valid repositories.
- Parameters:
repositories
- A list of repository objects corresponding to valid repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositories
DescribeRepositoriesResponse.Builder repositories(Consumer<Repository.Builder>... repositories)
A list of repository objects corresponding to valid repositories.
This is a convenience method that creates an instance of theRepository.Builder
avoiding the need to create one manually viaRepository.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#repositories(List
.) - Parameters:
repositories
- a consumer that will call methods onRepository.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#repositories(java.util.Collection
)
-
nextToken
DescribeRepositoriesResponse.Builder nextToken(String nextToken)
The
nextToken
value to include in a futureDescribeRepositories
request. When the results of aDescribeRepositories
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 futureDescribeRepositories
request. When the results of aDescribeRepositories
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.
-
-