Interface ListImagesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListImagesRequest.Builder,ListImagesRequest>,ImagebuilderRequest.Builder,SdkBuilder<ListImagesRequest.Builder,ListImagesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListImagesRequest
public static interface ListImagesRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<ListImagesRequest.Builder,ListImagesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListImagesRequest.BuilderbyName(Boolean byName)Requests a list of images with a specific recipe name.ListImagesRequest.Builderfilters(Collection<Filter> filters)Use the following filters to streamline results:ListImagesRequest.Builderfilters(Consumer<Filter.Builder>... filters)Use the following filters to streamline results:ListImagesRequest.Builderfilters(Filter... filters)Use the following filters to streamline results:ListImagesRequest.BuilderincludeDeprecated(Boolean includeDeprecated)Includes deprecated images in the response list.ListImagesRequest.BuildermaxResults(Integer maxResults)The maximum items to return in a request.ListImagesRequest.BuildernextToken(String nextToken)A token to specify where to start paginating.ListImagesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListImagesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListImagesRequest.Builderowner(String owner)The owner defines which images you want to list.ListImagesRequest.Builderowner(Ownership owner)The owner defines which images you want to list.-
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.imagebuilder.model.ImagebuilderRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
owner
ListImagesRequest.Builder owner(String owner)
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
- Parameters:
owner- The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Ownership,Ownership
-
owner
ListImagesRequest.Builder owner(Ownership owner)
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
- Parameters:
owner- The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Ownership,Ownership
-
filters
ListImagesRequest.Builder filters(Collection<Filter> 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
ListImagesRequest.Builder filters(Filter... 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
ListImagesRequest.Builder filters(Consumer<Filter.Builder>... 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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
-
byName
ListImagesRequest.Builder byName(Boolean byName)
Requests a list of images with a specific recipe name.
- Parameters:
byName- Requests a list of images with a specific recipe name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListImagesRequest.Builder maxResults(Integer maxResults)
The maximum items to return in a request.
- Parameters:
maxResults- The maximum items to return in a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListImagesRequest.Builder nextToken(String nextToken)
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
- Parameters:
nextToken- A token to specify where to start paginating. This is the nextToken from a previously truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeDeprecated
ListImagesRequest.Builder includeDeprecated(Boolean includeDeprecated)
Includes deprecated images in the response list.
- Parameters:
includeDeprecated- Includes deprecated images in the response list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListImagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListImagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-