public static interface StartDetectMitigationActionsTaskRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<StartDetectMitigationActionsTaskRequest.Builder,StartDetectMitigationActionsTaskRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartDetectMitigationActionsTaskRequest.Builder taskId(String taskId)
The unique identifier of the task.
taskId - The unique identifier of the task.StartDetectMitigationActionsTaskRequest.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 StartDetectMitigationActionsTaskRequest.Builder target(Consumer<DetectMitigationActionsTaskTarget.Builder> target)
Specifies the ML Detect findings to which the mitigation actions are applied.
This is a convenience 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)StartDetectMitigationActionsTaskRequest.Builder actions(Collection<String> actions)
The actions to be performed when a device has unexpected behavior.
actions - The actions to be performed when a device has unexpected behavior.StartDetectMitigationActionsTaskRequest.Builder actions(String... actions)
The actions to be performed when a device has unexpected behavior.
actions - The actions to be performed when a device has unexpected behavior.StartDetectMitigationActionsTaskRequest.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 StartDetectMitigationActionsTaskRequest.Builder violationEventOccurrenceRange(Consumer<ViolationEventOccurrenceRange.Builder> violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
This is a convenience 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)StartDetectMitigationActionsTaskRequest.Builder includeOnlyActiveViolations(Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
includeOnlyActiveViolations - Specifies to list only active violations.StartDetectMitigationActionsTaskRequest.Builder includeSuppressedAlerts(Boolean includeSuppressedAlerts)
Specifies to include suppressed alerts.
includeSuppressedAlerts - Specifies to include suppressed alerts.StartDetectMitigationActionsTaskRequest.Builder clientRequestToken(String clientRequestToken)
Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.
clientRequestToken - Each mitigation action task must have a unique client request token. If you try to create a new task
with the same token as a task that already exists, an exception occurs. If you omit this value, Amazon
Web Services SDKs will automatically generate a unique client request.StartDetectMitigationActionsTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartDetectMitigationActionsTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.