public static interface DetectMitigationActionsTaskSummary.Builder extends SdkPojo, CopyableBuilder<DetectMitigationActionsTaskSummary.Builder,DetectMitigationActionsTaskSummary>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectMitigationActionsTaskSummary.Builder taskId(String taskId)
The unique identifier of the task.
taskId - The unique identifier of the task.DetectMitigationActionsTaskSummary.Builder taskStatus(String taskStatus)
The status of the task.
taskStatus - The status of the task.DetectMitigationActionsTaskStatus,
DetectMitigationActionsTaskStatusDetectMitigationActionsTaskSummary.Builder taskStatus(DetectMitigationActionsTaskStatus taskStatus)
The status of the task.
taskStatus - The status of the task.DetectMitigationActionsTaskStatus,
DetectMitigationActionsTaskStatusDetectMitigationActionsTaskSummary.Builder taskStartTime(Instant taskStartTime)
The date the task started.
taskStartTime - The date the task started.DetectMitigationActionsTaskSummary.Builder taskEndTime(Instant taskEndTime)
The date the task ended.
taskEndTime - The date the task ended.DetectMitigationActionsTaskSummary.Builder target(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are applied.
target - Specifies the ML Detect findings to which the mitigation actions are applied.default DetectMitigationActionsTaskSummary.Builder target(Consumer<DetectMitigationActionsTaskTarget.Builder> target)
Specifies the ML Detect findings to which the mitigation actions are applied.
This is a convenience method that creates an instance of theDetectMitigationActionsTaskTarget.Builder avoiding the need to create one manually via
DetectMitigationActionsTaskTarget.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to target(DetectMitigationActionsTaskTarget).
target - a consumer that will call methods on DetectMitigationActionsTaskTarget.Buildertarget(DetectMitigationActionsTaskTarget)DetectMitigationActionsTaskSummary.Builder violationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
violationEventOccurrenceRange - Specifies the time period of which violation events occurred between.default DetectMitigationActionsTaskSummary.Builder violationEventOccurrenceRange(Consumer<ViolationEventOccurrenceRange.Builder> violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
This is a convenience method that creates an instance of theViolationEventOccurrenceRange.Builder
avoiding the need to create one manually via ViolationEventOccurrenceRange.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to violationEventOccurrenceRange(ViolationEventOccurrenceRange).
violationEventOccurrenceRange - a consumer that will call methods on ViolationEventOccurrenceRange.BuilderviolationEventOccurrenceRange(ViolationEventOccurrenceRange)DetectMitigationActionsTaskSummary.Builder onlyActiveViolationsIncluded(Boolean onlyActiveViolationsIncluded)
Includes only active violations.
onlyActiveViolationsIncluded - Includes only active violations.DetectMitigationActionsTaskSummary.Builder suppressedAlertsIncluded(Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
suppressedAlertsIncluded - Includes suppressed alerts.DetectMitigationActionsTaskSummary.Builder actionsDefinition(Collection<MitigationAction> actionsDefinition)
The definition of the actions.
actionsDefinition - The definition of the actions.DetectMitigationActionsTaskSummary.Builder actionsDefinition(MitigationAction... actionsDefinition)
The definition of the actions.
actionsDefinition - The definition of the actions.DetectMitigationActionsTaskSummary.Builder actionsDefinition(Consumer<MitigationAction.Builder>... actionsDefinition)
The definition of the actions.
This is a convenience method that creates an instance of theMitigationAction.Builder avoiding the need to create one
manually via MitigationAction.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #actionsDefinition(List.
actionsDefinition - a consumer that will call methods on
MitigationAction.Builder#actionsDefinition(java.util.Collection) DetectMitigationActionsTaskSummary.Builder taskStatistics(DetectMitigationActionsTaskStatistics taskStatistics)
The statistics of a mitigation action task.
taskStatistics - The statistics of a mitigation action task.default DetectMitigationActionsTaskSummary.Builder taskStatistics(Consumer<DetectMitigationActionsTaskStatistics.Builder> taskStatistics)
The statistics of a mitigation action task.
This is a convenience method that creates an instance of theDetectMitigationActionsTaskStatistics.Builder avoiding the need to create one manually via
DetectMitigationActionsTaskStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to taskStatistics(DetectMitigationActionsTaskStatistics).
taskStatistics - a consumer that will call methods on DetectMitigationActionsTaskStatistics.BuildertaskStatistics(DetectMitigationActionsTaskStatistics)Copyright © 2023. All rights reserved.