Interface ListComplianceItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListComplianceItemsResponse.Builder,
,ListComplianceItemsResponse> SdkBuilder<ListComplianceItemsResponse.Builder,
,ListComplianceItemsResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
ListComplianceItemsResponse
public static interface ListComplianceItemsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListComplianceItemsResponse.Builder,ListComplianceItemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceItems
(Collection<ComplianceItem> complianceItems) A list of compliance information for the specified resource ID.complianceItems
(Consumer<ComplianceItem.Builder>... complianceItems) A list of compliance information for the specified resource ID.complianceItems
(ComplianceItem... complianceItems) A list of compliance information for the specified resource ID.The token for the next set of items to return.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
complianceItems
A list of compliance information for the specified resource ID.
- Parameters:
complianceItems
- A list of compliance information for the specified resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceItems
A list of compliance information for the specified resource ID.
- Parameters:
complianceItems
- A list of compliance information for the specified resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceItems
ListComplianceItemsResponse.Builder complianceItems(Consumer<ComplianceItem.Builder>... complianceItems) A list of compliance information for the specified resource ID.
This is a convenience method that creates an instance of theComplianceItem.Builder
avoiding the need to create one manually viaComplianceItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomplianceItems(List<ComplianceItem>)
.- Parameters:
complianceItems
- a consumer that will call methods onComplianceItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of items to return. Use this token to get the next set of results.
- Parameters:
nextToken
- The token for the next set of items to return. 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.
-