Interface ListAssociatedPackagesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<ListAssociatedPackagesResponse.Builder,ListAssociatedPackagesResponse>,SdkBuilder<ListAssociatedPackagesResponse.Builder,ListAssociatedPackagesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAssociatedPackagesResponse
public static interface ListAssociatedPackagesResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListAssociatedPackagesResponse.Builder,ListAssociatedPackagesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssociatedPackagesResponse.BuildernextToken(String nextToken)The token for the next set of results.ListAssociatedPackagesResponse.Builderpackages(Collection<AssociatedPackage> packages)The list of packages associated with the requested package group.ListAssociatedPackagesResponse.Builderpackages(Consumer<AssociatedPackage.Builder>... packages)The list of packages associated with the requested package group.ListAssociatedPackagesResponse.Builderpackages(AssociatedPackage... packages)The list of packages associated with 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
packages
ListAssociatedPackagesResponse.Builder packages(Collection<AssociatedPackage> packages)
The list of packages associated with the requested package group.
- Parameters:
packages- The list of packages associated with the requested package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packages
ListAssociatedPackagesResponse.Builder packages(AssociatedPackage... packages)
The list of packages associated with the requested package group.
- Parameters:
packages- The list of packages associated with the requested package group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packages
ListAssociatedPackagesResponse.Builder packages(Consumer<AssociatedPackage.Builder>... packages)
The list of packages associated with the requested package group.
This is a convenience method that creates an instance of theAssociatedPackage.Builderavoiding the need to create one manually viaAssociatedPackage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#packages(List.) - Parameters:
packages- a consumer that will call methods onAssociatedPackage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#packages(java.util.Collection)
-
nextToken
ListAssociatedPackagesResponse.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.
-
-