Interface ListAuditFindingsRequest.Builder

    • Method Detail

      • taskId

        ListAuditFindingsRequest.Builder taskId​(String taskId)

        A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.

        Parameters:
        taskId - A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checkName

        ListAuditFindingsRequest.Builder checkName​(String checkName)

        A filter to limit results to the findings for the specified audit check.

        Parameters:
        checkName - A filter to limit results to the findings for the specified audit check.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIdentifier

        ListAuditFindingsRequest.Builder resourceIdentifier​(ResourceIdentifier resourceIdentifier)

        Information identifying the noncompliant resource.

        Parameters:
        resourceIdentifier - Information identifying the noncompliant resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListAuditFindingsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return at one time. The default is 25.

        Parameters:
        maxResults - The maximum number of results to return at one time. The default is 25.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListAuditFindingsRequest.Builder nextToken​(String nextToken)

        The token for the next set of results.

        Parameters:
        nextToken - The token for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        ListAuditFindingsRequest.Builder startTime​(Instant startTime)

        A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.

        Parameters:
        startTime - A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        ListAuditFindingsRequest.Builder endTime​(Instant endTime)

        A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.

        Parameters:
        endTime - A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • listSuppressedFindings

        ListAuditFindingsRequest.Builder listSuppressedFindings​(Boolean listSuppressedFindings)

        Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.

        Parameters:
        listSuppressedFindings - Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.