Interface ListAuditTasksRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>, IotRequest.Builder, SdkBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListAuditTasksRequest

public static interface ListAuditTasksRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>
  • Method Details

    • 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

      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

      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:
    • 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:
    • 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:
    • 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:
    • 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.
    • overrideConfiguration

      ListAuditTasksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.