Interface DescribeAuditMitigationActionsTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAuditMitigationActionsTaskResponse.Builder,
,DescribeAuditMitigationActionsTaskResponse> IotResponse.Builder
,SdkBuilder<DescribeAuditMitigationActionsTaskResponse.Builder,
,DescribeAuditMitigationActionsTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAuditMitigationActionsTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionactionsDefinition
(Collection<MitigationAction> actionsDefinition) Specifies the mitigation actions and their parameters that are applied as part of this task.actionsDefinition
(Consumer<MitigationAction.Builder>... actionsDefinition) Specifies the mitigation actions and their parameters that are applied as part of this task.actionsDefinition
(MitigationAction... actionsDefinition) Specifies the mitigation actions and their parameters that are applied as part of this task.auditCheckToActionsMapping
(Map<String, ? extends Collection<String>> auditCheckToActionsMapping) Specifies the mitigation actions that should be applied to specific audit checks.The date and time when the task was completed or canceled.The date and time when the task was started.Identifies the findings to which the mitigation actions are applied.Identifies the findings to which the mitigation actions are applied.taskStatistics
(Map<String, TaskStatisticsForAuditCheck> taskStatistics) Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.taskStatus
(String taskStatus) The current status of the task.taskStatus
(AuditMitigationActionsTaskStatus taskStatus) The current status of the 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 current status of the task.
- Parameters:
taskStatus
- The current status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskStatus
DescribeAuditMitigationActionsTaskResponse.Builder taskStatus(AuditMitigationActionsTaskStatus taskStatus) The current status of the task.
- Parameters:
taskStatus
- The current status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The date and time when the task was started.
- Parameters:
startTime
- The date and time when the task was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The date and time when the task was completed or canceled.
- Parameters:
endTime
- The date and time when the task was completed or canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatistics
DescribeAuditMitigationActionsTaskResponse.Builder taskStatistics(Map<String, TaskStatisticsForAuditCheck> taskStatistics) Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
- Parameters:
taskStatistics
- Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
- Parameters:
target
- Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
default DescribeAuditMitigationActionsTaskResponse.Builder target(Consumer<AuditMitigationActionsTaskTarget.Builder> target) Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
This is a convenience method that creates an instance of theAuditMitigationActionsTaskTarget.Builder
avoiding the need to create one manually viaAuditMitigationActionsTaskTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totarget(AuditMitigationActionsTaskTarget)
.- Parameters:
target
- a consumer that will call methods onAuditMitigationActionsTaskTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
auditCheckToActionsMapping
DescribeAuditMitigationActionsTaskResponse.Builder auditCheckToActionsMapping(Map<String, ? extends Collection<String>> auditCheckToActionsMapping) Specifies the mitigation actions that should be applied to specific audit checks.
- Parameters:
auditCheckToActionsMapping
- Specifies the mitigation actions that should be applied to specific audit checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsDefinition
DescribeAuditMitigationActionsTaskResponse.Builder actionsDefinition(Collection<MitigationAction> actionsDefinition) Specifies the mitigation actions and their parameters that are applied as part of this task.
- Parameters:
actionsDefinition
- Specifies the mitigation actions and their parameters that are applied as part of this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsDefinition
DescribeAuditMitigationActionsTaskResponse.Builder actionsDefinition(MitigationAction... actionsDefinition) Specifies the mitigation actions and their parameters that are applied as part of this task.
- Parameters:
actionsDefinition
- Specifies the mitigation actions and their parameters that are applied as part of this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsDefinition
DescribeAuditMitigationActionsTaskResponse.Builder actionsDefinition(Consumer<MitigationAction.Builder>... actionsDefinition) Specifies the mitigation actions and their parameters that are applied as part of this task.
This is a convenience method that creates an instance of theMitigationAction.Builder
avoiding the need to create one manually viaMitigationAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionsDefinition(List<MitigationAction>)
.- Parameters:
actionsDefinition
- a consumer that will call methods onMitigationAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-