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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".DescribeAuditTaskResponse.Builder
taskStatus(AuditTaskStatus taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".DescribeAuditTaskResponse.Builder
taskType(String taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".DescribeAuditTaskResponse.Builder
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 Detail
-
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:
AuditTaskStatus
,AuditTaskStatus
-
taskStatus
DescribeAuditTaskResponse.Builder taskStatus(AuditTaskStatus 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:
AuditTaskStatus
,AuditTaskStatus
-
taskType
DescribeAuditTaskResponse.Builder taskType(String 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:
AuditTaskType
,AuditTaskType
-
taskType
DescribeAuditTaskResponse.Builder taskType(AuditTaskType 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:
AuditTaskType
,AuditTaskType
-
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 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:
taskStatistics(TaskStatistics)
-
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
DescribeAuditTaskResponse.Builder auditDetails(Map<String,AuditCheckDetails> 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.
-
-