public static interface ListComponentsRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<ListComponentsRequest.Builder,ListComponentsRequest>
Modifier and Type | Method and Description |
---|---|
ListComponentsRequest.Builder |
byName(Boolean byName)
Returns the list of component build versions for the specified semantic version.
|
ListComponentsRequest.Builder |
filters(Collection<Filter> filters)
The filters.
|
ListComponentsRequest.Builder |
filters(Consumer<Filter.Builder>... filters)
The filters.
|
ListComponentsRequest.Builder |
filters(Filter... filters)
The filters.
|
ListComponentsRequest.Builder |
maxResults(Integer maxResults)
The maximum items to return in a request.
|
ListComponentsRequest.Builder |
nextToken(String nextToken)
A token to specify where to start paginating.
|
ListComponentsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListComponentsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ListComponentsRequest.Builder |
owner(Ownership owner)
The owner defines which components you want to list.
|
ListComponentsRequest.Builder |
owner(String owner)
The owner defines which components you want to list.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListComponentsRequest.Builder owner(String owner)
The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.
owner
- The owner defines which components you want to list. By default, this request will only show
components owned by your account. You can use this field to specify if you want to view components
owned by yourself, by Amazon, or those components that have been shared with you by other customers.Ownership
,
Ownership
ListComponentsRequest.Builder owner(Ownership owner)
The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.
owner
- The owner defines which components you want to list. By default, this request will only show
components owned by your account. You can use this field to specify if you want to view components
owned by yourself, by Amazon, or those components that have been shared with you by other customers.Ownership
,
Ownership
ListComponentsRequest.Builder filters(Collection<Filter> filters)
The filters.
filters
- The filters.ListComponentsRequest.Builder filters(Filter... filters)
The filters.
filters
- The filters.ListComponentsRequest.Builder filters(Consumer<Filter.Builder>... filters)
The filters.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
ListComponentsRequest.Builder byName(Boolean byName)
Returns the list of component build versions for the specified semantic version.
byName
- Returns the list of component build versions for the specified semantic version.ListComponentsRequest.Builder maxResults(Integer maxResults)
The maximum items to return in a request.
maxResults
- The maximum items to return in a request.ListComponentsRequest.Builder nextToken(String nextToken)
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the NextToken from a previously truncated
response.ListComponentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListComponentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.