Interface ListComplianceItemsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>
,SdkBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>
,SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
- ListComplianceItemsRequest
public static interface ListComplianceItemsRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>
-
-
Method Summary
-
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.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
filters
ListComplianceItemsRequest.Builder filters(Collection<ComplianceStringFilter> 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
ListComplianceItemsRequest.Builder filters(ComplianceStringFilter... 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
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 method that creates an instance of theComplianceStringFilter.Builder
avoiding the need to create one manually viaComplianceStringFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#filters(List
.) - 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:
#filters(java.util.Collection
)
-
resourceIds
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.
- 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
ListComplianceItemsRequest.Builder resourceIds(String... 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
ListComplianceItemsRequest.Builder resourceTypes(Collection<String> 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
ListComplianceItemsRequest.Builder resourceTypes(String... 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
ListComplianceItemsRequest.Builder nextToken(String 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
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.
- 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListComplianceItemsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-