Interface ListPackageGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<ListPackageGroupsResponse.Builder,ListPackageGroupsResponse>,SdkBuilder<ListPackageGroupsResponse.Builder,ListPackageGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPackageGroupsResponse
public static interface ListPackageGroupsResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListPackageGroupsResponse.Builder,ListPackageGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPackageGroupsResponse.BuildernextToken(String nextToken)The token for the next set of results.ListPackageGroupsResponse.BuilderpackageGroups(Collection<PackageGroupSummary> packageGroups)The list of package groups in the requested domain.ListPackageGroupsResponse.BuilderpackageGroups(Consumer<PackageGroupSummary.Builder>... packageGroups)The list of package groups in the requested domain.ListPackageGroupsResponse.BuilderpackageGroups(PackageGroupSummary... packageGroups)The list of package groups in the requested domain.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
packageGroups
ListPackageGroupsResponse.Builder packageGroups(Collection<PackageGroupSummary> packageGroups)
The list of package groups in the requested domain.
- Parameters:
packageGroups- The list of package groups in the requested domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageGroups
ListPackageGroupsResponse.Builder packageGroups(PackageGroupSummary... packageGroups)
The list of package groups in the requested domain.
- Parameters:
packageGroups- The list of package groups in the requested domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageGroups
ListPackageGroupsResponse.Builder packageGroups(Consumer<PackageGroupSummary.Builder>... packageGroups)
The list of package groups in the requested domain.
This is a convenience method that creates an instance of thePackageGroupSummary.Builderavoiding the need to create one manually viaPackageGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#packageGroups(List.) - 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:
#packageGroups(java.util.Collection)
-
nextToken
ListPackageGroupsResponse.Builder nextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-