Interface ListComponentsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListComponentsRequest.Builder,ListComponentsRequest>,ImagebuilderRequest.Builder,SdkBuilder<ListComponentsRequest.Builder,ListComponentsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListComponentsRequest
public static interface ListComponentsRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<ListComponentsRequest.Builder,ListComponentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListComponentsRequest.BuilderbyName(Boolean byName)Returns the list of components for the specified name.ListComponentsRequest.Builderfilters(Collection<Filter> filters)Use the following filters to streamline results:ListComponentsRequest.Builderfilters(Consumer<Filter.Builder>... filters)Use the following filters to streamline results:ListComponentsRequest.Builderfilters(Filter... filters)Use the following filters to streamline results:ListComponentsRequest.BuildermaxResults(Integer maxResults)The maximum items to return in a request.ListComponentsRequest.BuildernextToken(String nextToken)A token to specify where to start paginating.ListComponentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListComponentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListComponentsRequest.Builderowner(String owner)Filters results based on the type of owner for the component.ListComponentsRequest.Builderowner(Ownership owner)Filters results based on the type of owner for the component.-
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
ListComponentsRequest.Builder owner(String owner)
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
- Parameters:
owner- Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Ownership,Ownership
-
owner
ListComponentsRequest.Builder owner(Ownership owner)
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
- Parameters:
owner- Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Ownership,Ownership
-
filters
ListComponentsRequest.Builder filters(Collection<Filter> filters)
Use the following filters to streamline results:
-
description -
name -
platform -
supportedOsVersion -
type -
version
- Parameters:
filters- Use the following filters to streamline results:-
description -
name -
platform -
supportedOsVersion -
type -
version
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListComponentsRequest.Builder filters(Filter... filters)
Use the following filters to streamline results:
-
description -
name -
platform -
supportedOsVersion -
type -
version
- Parameters:
filters- Use the following filters to streamline results:-
description -
name -
platform -
supportedOsVersion -
type -
version
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListComponentsRequest.Builder filters(Consumer<Filter.Builder>... filters)
Use the following filters to streamline results:
-
description -
name -
platform -
supportedOsVersion -
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
ListComponentsRequest.Builder byName(Boolean byName)
Returns the list of components for the specified name.
- Parameters:
byName- Returns the list of components for the specified name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListComponentsRequest.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
ListComponentsRequest.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.
-
overrideConfiguration
ListComponentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListComponentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-