Interface DescribeImagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeImagesRequest.Builder,,DescribeImagesRequest> EcrPublicRequest.Builder,SdkBuilder<DescribeImagesRequest.Builder,,DescribeImagesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeImagesRequest
-
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.maxResults(Integer maxResults) The maximum number of repository results that's returned byDescribeImagesin paginated output.ThenextTokenvalue that's 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 that's associated with the public registry that contains the repository where images are described.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.ecrpublic.model.EcrPublicRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
registryId
The Amazon Web Services account ID that's associated with the public registry that contains the repository where images are described. If you do not specify a registry, the default public registry is assumed.
- Parameters:
registryId- The Amazon Web Services account ID that's associated with the public registry that contains the repository where images are described. If you do not specify a registry, the default public 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 that's 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. If there are no more results to return, this value isnull. If you specify images withimageIds, you can't use this option.- Parameters:
nextToken- ThenextTokenvalue that's 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. If there are no more results to return, this value isnull. If you specify images withimageIds, you can't use this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of repository results that's returned by
DescribeImagesin paginated output. When this parameter is used,DescribeImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherDescribeImagesrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter isn't used, thenDescribeImagesreturns up to 100 results and anextTokenvalue, if applicable. If you specify images withimageIds, you can't use this option.- Parameters:
maxResults- The maximum number of repository results that's returned byDescribeImagesin paginated output. When this parameter is used,DescribeImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherDescribeImagesrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter isn't used, thenDescribeImagesreturns up to 100 results and anextTokenvalue, if applicable. If you specify images withimageIds, you can't use this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-