Interface ListComplianceItemsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListComplianceItemsRequest.Builder,,ListComplianceItemsRequest> SdkBuilder<ListComplianceItemsRequest.Builder,,ListComplianceItemsRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
ListComplianceItemsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<ComplianceStringFilter> filters) One or more compliance filters.filters(Consumer<ComplianceStringFilter.Builder>... filters) One or more compliance filters.filters(ComplianceStringFilter... filters) One or more compliance filters.maxResults(Integer maxResults) The maximum number of items to return for this call.A token to start the list.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceIds(String... resourceIds) The ID for the resources from which to get compliance information.resourceIds(Collection<String> resourceIds) The ID for the resources from which to get compliance information.resourceTypes(String... resourceTypes) The type of resource from which to get compliance information.resourceTypes(Collection<String> resourceTypes) The type of resource from which to get compliance information.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.ssm.model.SsmRequest.Builder
build
-
Method Details
-
filters
One or more compliance filters. Use a filter to return a more specific list of results.
- Parameters:
filters- One or more compliance filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more compliance filters. Use a filter to return a more specific list of results.
- Parameters:
filters- One or more compliance filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more compliance filters. Use a filter to return a more specific list of results.
This is a convenience method that creates an instance of theComplianceStringFilter.Builderavoiding the need to create one manually viaComplianceStringFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<ComplianceStringFilter>).- Parameters:
filters- a consumer that will call methods onComplianceStringFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceIds
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
- Parameters:
resourceIds- The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIds
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
- Parameters:
resourceIds- The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance.- Parameters:
resourceTypes- The type of resource from which to get compliance information. Currently, the only supported resource type isManagedInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance.- Parameters:
resourceTypes- The type of resource from which to get compliance information. Currently, the only supported resource type isManagedInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to start the list. Use this token to get the next set of results.
- Parameters:
nextToken- A token to start the list. Use this token to get 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 items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListComplianceItemsRequest.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
ListComplianceItemsRequest.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.
-