Interface DescribeAuditMitigationActionsTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAuditMitigationActionsTaskResponse.Builder,DescribeAuditMitigationActionsTaskResponse>
,IotResponse.Builder
,SdkBuilder<DescribeAuditMitigationActionsTaskResponse.Builder,DescribeAuditMitigationActionsTaskResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeAuditMitigationActionsTaskResponse
public static interface DescribeAuditMitigationActionsTaskResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeAuditMitigationActionsTaskResponse.Builder,DescribeAuditMitigationActionsTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.default DescribeAuditMitigationActionsTaskResponse.Builder
target(Consumer<AuditMitigationActionsTaskTarget.Builder> target)
Identifies the findings to which the mitigation actions are applied.DescribeAuditMitigationActionsTaskResponse.Builder
target(AuditMitigationActionsTaskTarget 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(String taskStatus)
The current status of the task.DescribeAuditMitigationActionsTaskResponse.Builder
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
taskStatus
DescribeAuditMitigationActionsTaskResponse.Builder taskStatus(String 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:
AuditMitigationActionsTaskStatus
,AuditMitigationActionsTaskStatus
-
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:
AuditMitigationActionsTaskStatus
,AuditMitigationActionsTaskStatus
-
startTime
DescribeAuditMitigationActionsTaskResponse.Builder startTime(Instant 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
DescribeAuditMitigationActionsTaskResponse.Builder endTime(Instant 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
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.
- 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:
target(AuditMitigationActionsTaskTarget)
-
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 to#actionsDefinition(List
.) - 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:
#actionsDefinition(java.util.Collection
)
-
-