Interface ListSubPackageGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeartifactResponse.Builder
,CopyableBuilder<ListSubPackageGroupsResponse.Builder,
,ListSubPackageGroupsResponse> SdkBuilder<ListSubPackageGroupsResponse.Builder,
,ListSubPackageGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSubPackageGroupsResponse
public static interface ListSubPackageGroupsResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListSubPackageGroupsResponse.Builder,ListSubPackageGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.packageGroups
(Collection<PackageGroupSummary> packageGroups) A list of sub package groups for the requested package group.packageGroups
(Consumer<PackageGroupSummary.Builder>... packageGroups) A list of sub package groups for the requested package group.packageGroups
(PackageGroupSummary... packageGroups) A list of sub package groups for the requested package group.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
-
packageGroups
A list of sub package groups for the requested package group.
- Parameters:
packageGroups
- A list of sub package groups for the requested package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageGroups
A list of sub package groups for the requested package group.
- Parameters:
packageGroups
- A list of sub package groups for the requested package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageGroups
ListSubPackageGroupsResponse.Builder packageGroups(Consumer<PackageGroupSummary.Builder>... packageGroups) A list of sub package groups for the requested package group.
This is a convenience method that creates an instance of thePackageGroupSummary.Builder
avoiding the need to create one manually viaPackageGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topackageGroups(List<PackageGroupSummary>)
.- Parameters:
packageGroups
- a consumer that will call methods onPackageGroupSummary.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.
-