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 Summary
Modifier and TypeMethodDescriptionauditDetails
(Map<String, AuditCheckDetails> auditDetails) Detailed information about each check performed during this audit.scheduledAuditName
(String scheduledAuditName) The name of the scheduled audit (only if the audit was a scheduled audit).taskStartTime
(Instant taskStartTime) The time the audit started.taskStatistics
(Consumer<TaskStatistics.Builder> taskStatistics) Statistical information about the audit.taskStatistics
(TaskStatistics taskStatistics) Statistical information about the audit.taskStatus
(String taskStatus) The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".taskStatus
(AuditTaskStatus taskStatus) The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".taskType
(AuditTaskType taskType) The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 theTaskStatistics.Builder
avoiding the need to create one manually viaTaskStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskStatistics(TaskStatistics)
.- Parameters:
taskStatistics
- a consumer that will call methods onTaskStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-