Interface ListConfigurationPolicyAssociationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListConfigurationPolicyAssociationsRequest.Builder,
,ListConfigurationPolicyAssociationsRequest> SdkBuilder<ListConfigurationPolicyAssociationsRequest.Builder,
,ListConfigurationPolicyAssociationsRequest> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
ListConfigurationPolicyAssociationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Consumer<AssociationFilters.Builder> filters) Options for filtering theListConfigurationPolicyAssociations
response.filters
(AssociationFilters filters) Options for filtering theListConfigurationPolicyAssociations
response.maxResults
(Integer maxResults) The maximum number of results that's returned byListConfigurationPolicies
in each page of the response.TheNextToken
value that's returned from a previous paginatedListConfigurationPolicyAssociations
request whereMaxResults
was used but the results exceeded the value of that parameter.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.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
nextToken
The
NextToken
value that's returned from a previous paginatedListConfigurationPolicyAssociations
request whereMaxResults
was used but the results exceeded the value of that parameter. Pagination continues from the end of the previous response that returned theNextToken
value. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value that's returned from a previous paginatedListConfigurationPolicyAssociations
request whereMaxResults
was used but the results exceeded the value of that parameter. Pagination continues from the end of the previous response that returned theNextToken
value. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results that's returned by
ListConfigurationPolicies
in each page of the response. When this parameter is used,ListConfigurationPolicyAssociations
returns the specified number of results in a single page and aNextToken
response element. You can see the remaining results of the initial request by sending anotherListConfigurationPolicyAssociations
request with the returnedNextToken
value. A valid range forMaxResults
is between 1 and 100.- Parameters:
maxResults
- The maximum number of results that's returned byListConfigurationPolicies
in each page of the response. When this parameter is used,ListConfigurationPolicyAssociations
returns the specified number of results in a single page and aNextToken
response element. You can see the remaining results of the initial request by sending anotherListConfigurationPolicyAssociations
request with the returnedNextToken
value. A valid range forMaxResults
is between 1 and 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Options for filtering the
ListConfigurationPolicyAssociations
response. You can filter by the Amazon Resource Name (ARN) or universally unique identifier (UUID) of a configuration,AssociationType
, orAssociationStatus
.- Parameters:
filters
- Options for filtering theListConfigurationPolicyAssociations
response. You can filter by the Amazon Resource Name (ARN) or universally unique identifier (UUID) of a configuration,AssociationType
, orAssociationStatus
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListConfigurationPolicyAssociationsRequest.Builder filters(Consumer<AssociationFilters.Builder> filters) Options for filtering the
This is a convenience method that creates an instance of theListConfigurationPolicyAssociations
response. You can filter by the Amazon Resource Name (ARN) or universally unique identifier (UUID) of a configuration,AssociationType
, orAssociationStatus
.AssociationFilters.Builder
avoiding the need to create one manually viaAssociationFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(AssociationFilters)
.- Parameters:
filters
- a consumer that will call methods onAssociationFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListConfigurationPolicyAssociationsRequest.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
ListConfigurationPolicyAssociationsRequest.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.
-