Interface DescribeEntitledRepositoriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEntitledRepositoriesResponse.Builder,,DescribeEntitledRepositoriesResponse> EcrPublicResponse.Builder,SdkBuilder<DescribeEntitledRepositoriesResponse.Builder,,DescribeEntitledRepositoriesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeEntitledRepositoriesResponse
-
Method Summary
Modifier and TypeMethodDescriptionThenextTokenvalue to include in a futureDescribeEntitledRepositoriesrequest.repositories(Collection<EntitledRepository> repositories) A list of premium repositories that you're entitled to.repositories(Consumer<EntitledRepository.Builder>... repositories) A list of premium repositories that you're entitled to.repositories(EntitledRepository... repositories) A list of premium repositories that you're entitled to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecrpublic.model.EcrPublicResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
repositories
DescribeEntitledRepositoriesResponse.Builder repositories(Collection<EntitledRepository> repositories) A list of premium repositories that you're entitled to. Each entry is a repository and product pair. A repository that you can access through more than one product appears once for each product, and the same pair can appear on more than one page. Group entries by
repositoryArn.- Parameters:
repositories- A list of premium repositories that you're entitled to. Each entry is a repository and product pair. A repository that you can access through more than one product appears once for each product, and the same pair can appear on more than one page. Group entries byrepositoryArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositories
A list of premium repositories that you're entitled to. Each entry is a repository and product pair. A repository that you can access through more than one product appears once for each product, and the same pair can appear on more than one page. Group entries by
repositoryArn.- Parameters:
repositories- A list of premium repositories that you're entitled to. Each entry is a repository and product pair. A repository that you can access through more than one product appears once for each product, and the same pair can appear on more than one page. Group entries byrepositoryArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositories
DescribeEntitledRepositoriesResponse.Builder repositories(Consumer<EntitledRepository.Builder>... repositories) A list of premium repositories that you're entitled to. Each entry is a repository and product pair. A repository that you can access through more than one product appears once for each product, and the same pair can appear on more than one page. Group entries by
This is a convenience method that creates an instance of therepositoryArn.EntitledRepository.Builderavoiding the need to create one manually viaEntitledRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositories(List<EntitledRepository>).- Parameters:
repositories- a consumer that will call methods onEntitledRepository.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 futureDescribeEntitledRepositoriesrequest. When the results of aDescribeEntitledRepositoriesrequest exceedmaxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value isnull.- Parameters:
nextToken- ThenextTokenvalue to include in a futureDescribeEntitledRepositoriesrequest. When the results of aDescribeEntitledRepositoriesrequest exceedmaxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value isnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-