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 theListConfigurationPolicyAssociationsresponse.filters(AssociationFilters filters) Options for filtering theListConfigurationPolicyAssociationsresponse.maxResults(Integer maxResults) The maximum number of results that's returned byListConfigurationPoliciesin each page of the response.TheNextTokenvalue that's returned from a previous paginatedListConfigurationPolicyAssociationsrequest whereMaxResultswas 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
nextToken
The
NextTokenvalue that's returned from a previous paginatedListConfigurationPolicyAssociationsrequest whereMaxResultswas used but the results exceeded the value of that parameter. Pagination continues from the end of the previous response that returned theNextTokenvalue. This value isnullwhen there are no more results to return.- Parameters:
nextToken- TheNextTokenvalue that's returned from a previous paginatedListConfigurationPolicyAssociationsrequest whereMaxResultswas used but the results exceeded the value of that parameter. Pagination continues from the end of the previous response that returned theNextTokenvalue. This value isnullwhen 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
ListConfigurationPoliciesin each page of the response. When this parameter is used,ListConfigurationPolicyAssociationsreturns the specified number of results in a single page and aNextTokenresponse element. You can see the remaining results of the initial request by sending anotherListConfigurationPolicyAssociationsrequest with the returnedNextTokenvalue. A valid range forMaxResultsis between 1 and 100.- Parameters:
maxResults- The maximum number of results that's returned byListConfigurationPoliciesin each page of the response. When this parameter is used,ListConfigurationPolicyAssociationsreturns the specified number of results in a single page and aNextTokenresponse element. You can see the remaining results of the initial request by sending anotherListConfigurationPolicyAssociationsrequest with the returnedNextTokenvalue. A valid range forMaxResultsis between 1 and 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Options for filtering the
ListConfigurationPolicyAssociationsresponse. You can filter by the Amazon Resource Name (ARN) or universally unique identifier (UUID) of a configuration,AssociationType, orAssociationStatus.- Parameters:
filters- Options for filtering theListConfigurationPolicyAssociationsresponse. 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 theListConfigurationPolicyAssociationsresponse. You can filter by the Amazon Resource Name (ARN) or universally unique identifier (UUID) of a configuration,AssociationType, orAssociationStatus.AssociationFilters.Builderavoiding the need to create one manually viaAssociationFilters.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-