Interface ListControlsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ControlCatalogRequest.Builder
,CopyableBuilder<ListControlsRequest.Builder,
,ListControlsRequest> SdkBuilder<ListControlsRequest.Builder,
,ListControlsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListControlsRequest
@Mutable
@NotThreadSafe
public static interface ListControlsRequest.Builder
extends ControlCatalogRequest.Builder, SdkPojo, CopyableBuilder<ListControlsRequest.Builder,ListControlsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListControlsRequest.Builder
filter
(Consumer<ControlFilter.Builder> filter) An optional filter that narrows the results to controls with specific implementation types or identifiers.filter
(ControlFilter filter) An optional filter that narrows the results to controls with specific implementation types or identifiers.maxResults
(Integer maxResults) The maximum number of results on a page or for an API request call.The pagination token that's used to fetch the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.controlcatalog.model.ControlCatalogRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
nextToken
The pagination token that's used to fetch the next set of results.
- Parameters:
nextToken
- The pagination token that's used to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results on a page or for an API request call.
- Parameters:
maxResults
- The maximum number of results on a page or for an API request call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
An optional filter that narrows the results to controls with specific implementation types or identifiers. If you don't provide a filter, the operation returns all available controls.
- Parameters:
filter
- An optional filter that narrows the results to controls with specific implementation types or identifiers. If you don't provide a filter, the operation returns all available controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
An optional filter that narrows the results to controls with specific implementation types or identifiers. If you don't provide a filter, the operation returns all available controls.
This is a convenience method that creates an instance of theControlFilter.Builder
avoiding the need to create one manually viaControlFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(ControlFilter)
.- Parameters:
filter
- a consumer that will call methods onControlFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListControlsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListControlsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-