public static interface DescribeAuditTaskResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeAuditTaskResponse.Builder,DescribeAuditTaskResponse>
Modifier and Type | Method and Description |
---|---|
DescribeAuditTaskResponse.Builder |
auditDetails(Map<String,AuditCheckDetails> auditDetails)
Detailed information about each check performed during this audit.
|
DescribeAuditTaskResponse.Builder |
scheduledAuditName(String scheduledAuditName)
The name of the scheduled audit (only if the audit was a scheduled audit).
|
DescribeAuditTaskResponse.Builder |
taskStartTime(Instant taskStartTime)
The time the audit started.
|
default DescribeAuditTaskResponse.Builder |
taskStatistics(Consumer<TaskStatistics.Builder> taskStatistics)
Statistical information about the audit.
|
DescribeAuditTaskResponse.Builder |
taskStatistics(TaskStatistics taskStatistics)
Statistical information about the audit.
|
DescribeAuditTaskResponse.Builder |
taskStatus(AuditTaskStatus taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
|
DescribeAuditTaskResponse.Builder |
taskStatus(String taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
|
DescribeAuditTaskResponse.Builder |
taskType(AuditTaskType taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
DescribeAuditTaskResponse.Builder |
taskType(String taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeAuditTaskResponse.Builder taskStatus(String taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
taskStatus
- The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".AuditTaskStatus
,
AuditTaskStatus
DescribeAuditTaskResponse.Builder taskStatus(AuditTaskStatus taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
taskStatus
- The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".AuditTaskStatus
,
AuditTaskStatus
DescribeAuditTaskResponse.Builder taskType(String taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
taskType
- The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".AuditTaskType
,
AuditTaskType
DescribeAuditTaskResponse.Builder taskType(AuditTaskType taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
taskType
- The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".AuditTaskType
,
AuditTaskType
DescribeAuditTaskResponse.Builder taskStartTime(Instant taskStartTime)
The time the audit started.
taskStartTime
- The time the audit started.DescribeAuditTaskResponse.Builder taskStatistics(TaskStatistics taskStatistics)
Statistical information about the audit.
taskStatistics
- Statistical information about the audit.default DescribeAuditTaskResponse.Builder taskStatistics(Consumer<TaskStatistics.Builder> taskStatistics)
Statistical information about the audit.
This is a convenience method that creates an instance of theTaskStatistics.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)
.
taskStatistics
- a consumer that will call methods on TaskStatistics.Builder
taskStatistics(TaskStatistics)
DescribeAuditTaskResponse.Builder scheduledAuditName(String scheduledAuditName)
The name of the scheduled audit (only if the audit was a scheduled audit).
scheduledAuditName
- The name of the scheduled audit (only if the audit was a scheduled audit).DescribeAuditTaskResponse.Builder auditDetails(Map<String,AuditCheckDetails> auditDetails)
Detailed information about each check performed during this audit.
auditDetails
- Detailed information about each check performed during this audit.Copyright © 2023. All rights reserved.