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.BuilderauditDetails(Map<String,AuditCheckDetails> auditDetails)Detailed information about each check performed during this audit.DescribeAuditTaskResponse.BuilderscheduledAuditName(String scheduledAuditName)The name of the scheduled audit (only if the audit was a scheduled audit).DescribeAuditTaskResponse.BuildertaskStartTime(Instant taskStartTime)The time the audit started.default DescribeAuditTaskResponse.BuildertaskStatistics(Consumer<TaskStatistics.Builder> taskStatistics)Statistical information about the audit.DescribeAuditTaskResponse.BuildertaskStatistics(TaskStatistics taskStatistics)Statistical information about the audit.DescribeAuditTaskResponse.BuildertaskStatus(String taskStatus)The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".DescribeAuditTaskResponse.BuildertaskStatus(AuditTaskStatus taskStatus)The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".DescribeAuditTaskResponse.BuildertaskType(String taskType)The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".DescribeAuditTaskResponse.BuildertaskType(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.Builderavoiding the need to create one manually viaTaskStatistics.builder().When the
Consumercompletes,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.
-
-