Interface ListAuditTasksRequest.Builder

    • Method Detail

      • startTime

        ListAuditTasksRequest.Builder startTime​(Instant startTime)

        The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".

        Parameters:
        startTime - The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        ListAuditTasksRequest.Builder endTime​(Instant endTime)

        The end of the time period.

        Parameters:
        endTime - The end of the time period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskType

        ListAuditTasksRequest.Builder taskType​(String taskType)

        A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".

        Parameters:
        taskType - A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditTaskType, AuditTaskType
      • taskType

        ListAuditTasksRequest.Builder taskType​(AuditTaskType taskType)

        A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".

        Parameters:
        taskType - A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditTaskType, AuditTaskType
      • taskStatus

        ListAuditTasksRequest.Builder taskStatus​(String taskStatus)

        A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

        Parameters:
        taskStatus - A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditTaskStatus, AuditTaskStatus
      • taskStatus

        ListAuditTasksRequest.Builder taskStatus​(AuditTaskStatus taskStatus)

        A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

        Parameters:
        taskStatus - A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditTaskStatus, AuditTaskStatus
      • nextToken

        ListAuditTasksRequest.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.
      • maxResults

        ListAuditTasksRequest.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.