Interface DescribeAuditTaskResponse.Builder

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

public static interface DescribeAuditTaskResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeAuditTaskResponse.Builder,DescribeAuditTaskResponse>
  • Method Details

    • taskStatus

      DescribeAuditTaskResponse.Builder taskStatus(String taskStatus)

      The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

      Parameters:
      taskStatus - The status of the audit: 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

      The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

      Parameters:
      taskStatus - The status of the audit: 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:
    • taskType

      The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".

      Parameters:
      taskType - The type of audit: "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

      The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".

      Parameters:
      taskType - The type of audit: "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:
    • taskStartTime

      DescribeAuditTaskResponse.Builder taskStartTime(Instant taskStartTime)

      The time the audit started.

      Parameters:
      taskStartTime - The time the audit started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskStatistics

      DescribeAuditTaskResponse.Builder taskStatistics(TaskStatistics taskStatistics)

      Statistical information about the audit.

      Parameters:
      taskStatistics - Statistical information about the audit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskStatistics

      default DescribeAuditTaskResponse.Builder taskStatistics(Consumer<TaskStatistics.Builder> taskStatistics)

      Statistical information about the audit.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taskStatistics(TaskStatistics).

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

      DescribeAuditTaskResponse.Builder scheduledAuditName(String scheduledAuditName)

      The name of the scheduled audit (only if the audit was a scheduled audit).

      Parameters:
      scheduledAuditName - The name of the scheduled audit (only if the audit was a scheduled audit).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • auditDetails

      Detailed information about each check performed during this audit.

      Parameters:
      auditDetails - Detailed information about each check performed during this audit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.