public static interface DescribeAuditMitigationActionsTaskResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeAuditMitigationActionsTaskResponse.Builder,DescribeAuditMitigationActionsTaskResponse>
Modifier and Type | Method and Description |
---|---|
DescribeAuditMitigationActionsTaskResponse.Builder |
actionsDefinition(Collection<MitigationAction> actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
actionsDefinition(Consumer<MitigationAction.Builder>... actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
actionsDefinition(MitigationAction... actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
auditCheckToActionsMapping(Map<String,? extends Collection<String>> auditCheckToActionsMapping)
Specifies the mitigation actions that should be applied to specific audit checks.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
endTime(Instant endTime)
The date and time when the task was completed or canceled.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
startTime(Instant startTime)
The date and time when the task was started.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
target(AuditMitigationActionsTaskTarget target)
Identifies the findings to which the mitigation actions are applied.
|
default DescribeAuditMitigationActionsTaskResponse.Builder |
target(Consumer<AuditMitigationActionsTaskTarget.Builder> target)
Identifies the findings to which the mitigation actions are applied.
|
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.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
taskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current status of the task.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
taskStatus(String taskStatus)
The current status of the task.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeAuditMitigationActionsTaskResponse.Builder taskStatus(String taskStatus)
The current status of the task.
taskStatus
- The current status of the task.AuditMitigationActionsTaskStatus
,
AuditMitigationActionsTaskStatus
DescribeAuditMitigationActionsTaskResponse.Builder taskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current status of the task.
taskStatus
- The current status of the task.AuditMitigationActionsTaskStatus
,
AuditMitigationActionsTaskStatus
DescribeAuditMitigationActionsTaskResponse.Builder startTime(Instant startTime)
The date and time when the task was started.
startTime
- The date and time when the task was started.DescribeAuditMitigationActionsTaskResponse.Builder endTime(Instant endTime)
The date and time when the task was completed or canceled.
endTime
- The date and time when the task was completed or canceled.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.
taskStatistics
- Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit
mitigation actions task.DescribeAuditMitigationActionsTaskResponse.Builder target(AuditMitigationActionsTaskTarget 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.
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.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 that creates an instance of theAuditMitigationActionsTaskTarget.Builder
avoiding the need to create one manually via AuditMitigationActionsTaskTarget.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to target(AuditMitigationActionsTaskTarget)
.target
- a consumer that will call methods on AuditMitigationActionsTaskTarget.Builder
target(AuditMitigationActionsTaskTarget)
DescribeAuditMitigationActionsTaskResponse.Builder auditCheckToActionsMapping(Map<String,? extends Collection<String>> auditCheckToActionsMapping)
Specifies the mitigation actions that should be applied to specific audit checks.
auditCheckToActionsMapping
- Specifies the mitigation actions that should be applied to specific audit checks.DescribeAuditMitigationActionsTaskResponse.Builder actionsDefinition(Collection<MitigationAction> actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
actionsDefinition
- Specifies the mitigation actions and their parameters that are applied as part of this task.DescribeAuditMitigationActionsTaskResponse.Builder actionsDefinition(MitigationAction... actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
actionsDefinition
- Specifies the mitigation actions and their parameters that are applied as part of this task.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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #actionsDefinition(List)
.actionsDefinition
- a consumer that will call methods on List.Builder
#actionsDefinition(List)