Interface ListComplianceSummariesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListComplianceSummariesResponse.Builder,ListComplianceSummariesResponse>, SdkBuilder<ListComplianceSummariesResponse.Builder,ListComplianceSummariesResponse>, SdkPojo, SdkResponse.Builder, SsmResponse.Builder
Enclosing class:
ListComplianceSummariesResponse

public static interface ListComplianceSummariesResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListComplianceSummariesResponse.Builder,ListComplianceSummariesResponse>
  • Method Details

    • complianceSummaryItems

      ListComplianceSummariesResponse.Builder complianceSummaryItems(Collection<ComplianceSummaryItem> complianceSummaryItems)

      A list of compliant and non-compliant summary counts based on compliance types. For example, this call returns State Manager associations, patches, or custom compliance types according to the filter criteria that you specified.

      Parameters:
      complianceSummaryItems - A list of compliant and non-compliant summary counts based on compliance types. For example, this call returns State Manager associations, patches, or custom compliance types according to the filter criteria that you specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • complianceSummaryItems

      ListComplianceSummariesResponse.Builder complianceSummaryItems(ComplianceSummaryItem... complianceSummaryItems)

      A list of compliant and non-compliant summary counts based on compliance types. For example, this call returns State Manager associations, patches, or custom compliance types according to the filter criteria that you specified.

      Parameters:
      complianceSummaryItems - A list of compliant and non-compliant summary counts based on compliance types. For example, this call returns State Manager associations, patches, or custom compliance types according to the filter criteria that you specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • complianceSummaryItems

      ListComplianceSummariesResponse.Builder complianceSummaryItems(Consumer<ComplianceSummaryItem.Builder>... complianceSummaryItems)

      A list of compliant and non-compliant summary counts based on compliance types. For example, this call returns State Manager associations, patches, or custom compliance types according to the filter criteria that you specified.

      This is a convenience method that creates an instance of the ComplianceSummaryItem.Builder avoiding the need to create one manually via ComplianceSummaryItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to complianceSummaryItems(List<ComplianceSummaryItem>).

      Parameters:
      complianceSummaryItems - a consumer that will call methods on ComplianceSummaryItem.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.