Interface ListImagesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListImagesRequest.Builder,ListImagesRequest>,EcrRequest.Builder,SdkBuilder<ListImagesRequest.Builder,ListImagesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListImagesRequest
public static interface ListImagesRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<ListImagesRequest.Builder,ListImagesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListImagesRequest.Builderfilter(Consumer<ListImagesFilter.Builder> filter)The filter key and value with which to filter yourListImagesresults.ListImagesRequest.Builderfilter(ListImagesFilter filter)The filter key and value with which to filter yourListImagesresults.ListImagesRequest.BuildermaxResults(Integer maxResults)The maximum number of image results returned byListImagesin paginated output.ListImagesRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter.ListImagesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListImagesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListImagesRequest.BuilderregistryId(String registryId)The Amazon Web Services account ID associated with the registry that contains the repository in which to list images.ListImagesRequest.BuilderrepositoryName(String repositoryName)The repository with image IDs to be listed.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
registryId
ListImagesRequest.Builder registryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository in which to list 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 list 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
ListImagesRequest.Builder repositoryName(String repositoryName)
The repository with image IDs to be listed.
- Parameters:
repositoryName- The repository with image IDs to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListImagesRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListImagesrequest 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 token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListImagesrequest 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 token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListImagesRequest.Builder maxResults(Integer maxResults)
The maximum number of image results returned by
ListImagesin paginated output. When this parameter is used,ListImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImagesrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenListImagesreturns up to 100 results and anextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of image results returned byListImagesin paginated output. When this parameter is used,ListImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImagesrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenListImagesreturns up to 100 results and anextTokenvalue, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
ListImagesRequest.Builder filter(ListImagesFilter filter)
The filter key and value with which to filter your
ListImagesresults.- Parameters:
filter- The filter key and value with which to filter yourListImagesresults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default ListImagesRequest.Builder filter(Consumer<ListImagesFilter.Builder> filter)
The filter key and value with which to filter your
This is a convenience method that creates an instance of theListImagesresults.ListImagesFilter.Builderavoiding the need to create one manually viaListImagesFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(ListImagesFilter).- Parameters:
filter- a consumer that will call methods onListImagesFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(ListImagesFilter)
-
overrideConfiguration
ListImagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListImagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-