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.ThenextToken
value to include in a futureListImages
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadata
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
-
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.Builder
avoiding the need to create one manually viaImageIdentifier.builder()
.When the
Consumer
completes,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
nextToken
value to include in a futureListImages
request. When the results of aListImages
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListImages
request. When the results of aListImages
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-