Interface ListInventoryFindingsResponse.Builder

  • Method Details

    • findings

      The findings on this page. They are sorted by severity, highest first, then by RuleId in alphabetical order, then in an order unique to each finding. A later page can start with findings that changed since the first page was returned. A changed finding that sorts before the position the NextToken records is returned again once, with its new values.

      Parameters:
      findings - The findings on this page. They are sorted by severity, highest first, then by RuleId in alphabetical order, then in an order unique to each finding. A later page can start with findings that changed since the first page was returned. A changed finding that sorts before the position the NextToken records is returned again once, with its new values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      The findings on this page. They are sorted by severity, highest first, then by RuleId in alphabetical order, then in an order unique to each finding. A later page can start with findings that changed since the first page was returned. A changed finding that sorts before the position the NextToken records is returned again once, with its new values.

      Parameters:
      findings - The findings on this page. They are sorted by severity, highest first, then by RuleId in alphabetical order, then in an order unique to each finding. A later page can start with findings that changed since the first page was returned. A changed finding that sorts before the position the NextToken records is returned again once, with its new values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      The findings on this page. They are sorted by severity, highest first, then by RuleId in alphabetical order, then in an order unique to each finding. A later page can start with findings that changed since the first page was returned. A changed finding that sorts before the position the NextToken records is returned again once, with its new values.

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

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

      Parameters:
      findings - a consumer that will call methods on InventoryFinding.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • highestFindingSeverity

      ListInventoryFindingsResponse.Builder highestFindingSeverity(String highestFindingSeverity)

      The certificate's health, as SearchInventory reports it. It is the highest severity among the certificate's open findings, HEALTHY, or NOT_APPLICABLE. It is NOT_EVALUATED when the certificate's findings have not been evaluated yet.

      Parameters:
      highestFindingSeverity - The certificate's health, as SearchInventory reports it. It is the highest severity among the certificate's open findings, HEALTHY, or NOT_APPLICABLE. It is NOT_EVALUATED when the certificate's findings have not been evaluated yet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • highestFindingSeverity

      ListInventoryFindingsResponse.Builder highestFindingSeverity(CertificateHealthSeverity highestFindingSeverity)

      The certificate's health, as SearchInventory reports it. It is the highest severity among the certificate's open findings, HEALTHY, or NOT_APPLICABLE. It is NOT_EVALUATED when the certificate's findings have not been evaluated yet.

      Parameters:
      highestFindingSeverity - The certificate's health, as SearchInventory reports it. It is the highest severity among the certificate's open findings, HEALTHY, or NOT_APPLICABLE. It is NOT_EVALUATED when the certificate's findings have not been evaluated yet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      Pass this value as NextToken to read the next page. Absent on the last page. The token is opaque; do not parse or build one. A later page also returns any finding that changed after the first page was returned.

      Parameters:
      nextToken - Pass this value as NextToken to read the next page. Absent on the last page. The token is opaque; do not parse or build one. A later page also returns any finding that changed after the first page was returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalCount

      How many findings match in total, not only on this page. Counted when each page is read, so it can change between pages if the inventory changes.

      Parameters:
      totalCount - How many findings match in total, not only on this page. Counted when each page is read, so it can change between pages if the inventory changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalCountRelation

      ListInventoryFindingsResponse.Builder totalCountRelation(String totalCountRelation)

      Whether TotalCount is exact or a lower bound.

      Parameters:
      totalCountRelation - Whether TotalCount is exact or a lower bound.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • totalCountRelation

      ListInventoryFindingsResponse.Builder totalCountRelation(TotalCountRelation totalCountRelation)

      Whether TotalCount is exact or a lower bound.

      Parameters:
      totalCountRelation - Whether TotalCount is exact or a lower bound.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: