public static interface ListComplianceItemsRequest.Builder extends SsmRequest.Builder, CopyableBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>
Modifier and Type | Method and Description |
---|---|
ListComplianceItemsRequest.Builder |
filters(Collection<ComplianceStringFilter> filters)
One or more compliance filters.
|
ListComplianceItemsRequest.Builder |
filters(ComplianceStringFilter... filters)
One or more compliance filters.
|
ListComplianceItemsRequest.Builder |
filters(Consumer<ComplianceStringFilter.Builder>... filters)
One or more compliance filters.
|
ListComplianceItemsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of items to return for this call.
|
ListComplianceItemsRequest.Builder |
nextToken(String nextToken)
A token to start the list.
|
ListComplianceItemsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListComplianceItemsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ListComplianceItemsRequest.Builder |
resourceIds(Collection<String> resourceIds)
The ID for the resources from which to get compliance information.
|
ListComplianceItemsRequest.Builder |
resourceIds(String... resourceIds)
The ID for the resources from which to get compliance information.
|
ListComplianceItemsRequest.Builder |
resourceTypes(Collection<String> resourceTypes)
The type of resource from which to get compliance information.
|
ListComplianceItemsRequest.Builder |
resourceTypes(String... resourceTypes)
The type of resource from which to get compliance information.
|
build
overrideConfiguration
copy
applyMutation, build
ListComplianceItemsRequest.Builder filters(Collection<ComplianceStringFilter> filters)
One or more compliance filters. Use a filter to return a more specific list of results.
filters
- One or more compliance filters. Use a filter to return a more specific list of results.ListComplianceItemsRequest.Builder filters(ComplianceStringFilter... filters)
One or more compliance filters. Use a filter to return a more specific list of results.
filters
- One or more compliance filters. Use a filter to return a more specific list of results.ListComplianceItemsRequest.Builder filters(Consumer<ComplianceStringFilter.Builder>... filters)
One or more compliance filters. Use a filter to return a more specific list of results.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
ListComplianceItemsRequest.Builder resourceIds(Collection<String> resourceIds)
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
resourceIds
- The ID for the resources from which to get compliance information. Currently, you can only specify one
resource ID.ListComplianceItemsRequest.Builder resourceIds(String... resourceIds)
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
resourceIds
- The ID for the resources from which to get compliance information. Currently, you can only specify one
resource ID.ListComplianceItemsRequest.Builder resourceTypes(Collection<String> resourceTypes)
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance
.
resourceTypes
- The type of resource from which to get compliance information. Currently, the only supported resource
type is ManagedInstance
.ListComplianceItemsRequest.Builder resourceTypes(String... resourceTypes)
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance
.
resourceTypes
- The type of resource from which to get compliance information. Currently, the only supported resource
type is ManagedInstance
.ListComplianceItemsRequest.Builder nextToken(String nextToken)
A token to start the list. Use this token to get the next set of results.
nextToken
- A token to start the list. Use this token to get the next set of results.ListComplianceItemsRequest.Builder maxResults(Integer 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.
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.ListComplianceItemsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListComplianceItemsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.