Interface DescribeImagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeImagesRequest.Builder,,DescribeImagesRequest> EcrRequest.Builder,SdkBuilder<DescribeImagesRequest.Builder,,DescribeImagesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeImagesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeImagesRequest.Builderfilter(Consumer<DescribeImagesFilter.Builder> filter) The filter key and value with which to filter yourDescribeImagesresults.filter(DescribeImagesFilter filter) The filter key and value with which to filter yourDescribeImagesresults.imageIds(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.maxResults(Integer maxResults) The maximum number of repository results returned byDescribeImagesin paginated output.ThenextTokenvalue returned from a previous paginatedDescribeImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.registryId(String registryId) The Amazon Web Services account ID associated with the registry that contains the repository in which to describe images.repositoryName(String repositoryName) The repository that contains the images to describe.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
registryId
The Amazon Web Services account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default registry is assumed.
- Parameters:
registryId- The Amazon Web Services account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default registry is assumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The repository that contains the images to describe.
- Parameters:
repositoryName- The repository that contains the images to describe.- 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.
- 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 returned from a previous paginatedDescribeImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return. This option cannot be used when you specify images withimageIds.- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedDescribeImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return. This option cannot be used when you specify images withimageIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of repository results returned by
DescribeImagesin paginated output. When this parameter is used,DescribeImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeImagesrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenDescribeImagesreturns up to 100 results and anextTokenvalue, if applicable. This option cannot be used when you specify images withimageIds.- Parameters:
maxResults- The maximum number of repository results returned byDescribeImagesin paginated output. When this parameter is used,DescribeImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeImagesrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenDescribeImagesreturns up to 100 results and anextTokenvalue, if applicable. This option cannot be used when you specify images withimageIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
The filter key and value with which to filter your
DescribeImagesresults.- Parameters:
filter- The filter key and value with which to filter yourDescribeImagesresults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
The filter key and value with which to filter your
This is a convenience method that creates an instance of theDescribeImagesresults.DescribeImagesFilter.Builderavoiding the need to create one manually viaDescribeImagesFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(DescribeImagesFilter).- Parameters:
filter- a consumer that will call methods onDescribeImagesFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DescribeImagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeImagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-