Interface ListImagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListImagesRequest.Builder,,ListImagesRequest> ImagebuilderRequest.Builder,SdkBuilder<ListImagesRequest.Builder,,ListImagesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListImagesRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether to return one entry per image name, with all versions of each image aggregated.filters(Collection<Filter> filters) Use the following filters to streamline results:filters(Consumer<Filter.Builder>... filters) Use the following filters to streamline results:Use the following filters to streamline results:includeDeprecated(Boolean includeDeprecated) Specifies whether to include deprecated Amazon-managed images in the results.maxResults(Integer maxResults) The maximum number of items to return in a single request.A token to specify where to start paginating.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Filters the list to images owned by you, by Amazon, or shared with you by other accounts.Filters the list to images owned by you, by Amazon, or shared with you by other accounts.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.imagebuilder.model.ImagebuilderRequest.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
-
owner
Filters the list to images owned by you, by Amazon, or shared with you by other accounts. By default, only your account's images are returned.
- Parameters:
owner- Filters the list to images owned by you, by Amazon, or shared with you by other accounts. By default, only your account's images are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
owner
Filters the list to images owned by you, by Amazon, or shared with you by other accounts. By default, only your account's images are returned.
- Parameters:
owner- Filters the list to images owned by you, by Amazon, or shared with you by other accounts. By default, only your account's images are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
Use the following filters to streamline results:
-
name -
osVersion -
platform -
type -
version
- Parameters:
filters- Use the following filters to streamline results:-
name -
osVersion -
platform -
type -
version
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
Use the following filters to streamline results:
-
name -
osVersion -
platform -
type -
version
- Parameters:
filters- Use the following filters to streamline results:-
name -
osVersion -
platform -
type -
version
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
Use the following filters to streamline results:
-
name -
osVersion -
platform -
type -
version
Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
byName
Specifies whether to return one entry per image name, with all versions of each image aggregated. Defaults to
false, which returns one entry per image version. You can't combine this option with theversionfilter.- Parameters:
byName- Specifies whether to return one entry per image name, with all versions of each image aggregated. Defaults tofalse, which returns one entry per image version. You can't combine this option with theversionfilter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to return in a single request.
- Parameters:
maxResults- The maximum number of items to return in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to specify where to start paginating. Use the
nextTokenvalue from a previously truncated response.- Parameters:
nextToken- A token to specify where to start paginating. Use thenextTokenvalue from a previously truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeDeprecated
Specifies whether to include deprecated Amazon-managed images in the results. Deprecated images that you own are always returned. Defaults to
false.- Parameters:
includeDeprecated- Specifies whether to include deprecated Amazon-managed images in the results. Deprecated images that you own are always returned. Defaults tofalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListImagesRequest.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
ListImagesRequest.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.
-