Interface ListImagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListImagesResponse.Builder,,ListImagesResponse> EcrResponse.Builder,SdkBuilder<ListImagesResponse.Builder,,ListImagesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListImagesResponse
public static interface ListImagesResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<ListImagesResponse.Builder,ListImagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionimageIds(Collection<ImageIdentifier> imageIds) The list of image IDs for the requested repository.imageIds(Consumer<ImageIdentifier.Builder>... imageIds) The list of image IDs for the requested repository.imageIds(ImageIdentifier... imageIds) The list of image IDs for the requested repository.ThenextTokenvalue to include in a futureListImagesrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
imageIds
The list of image IDs for the requested repository.
- Parameters:
imageIds- The list of image IDs for the requested repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageIds
The list of image IDs for the requested repository.
- Parameters:
imageIds- The list of image IDs for the requested repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageIds
The list of image IDs for the requested repository.
This is a convenience method that creates an instance of theImageIdentifier.Builderavoiding the need to create one manually viaImageIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageIds(List<ImageIdentifier>).- Parameters:
imageIds- a consumer that will call methods onImageIdentifier.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 futureListImagesrequest. When the results of aListImagesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListImagesrequest. When the results of aListImagesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-