Interface ListComplianceItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListComplianceItemsResponse.Builder,,ListComplianceItemsResponse> SdkBuilder<ListComplianceItemsResponse.Builder,,ListComplianceItemsResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
ListComplianceItemsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaComplianceItem.builder().When the
Consumercompletes,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.
-