public static interface StartAuditMitigationActionsTaskRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<StartAuditMitigationActionsTaskRequest.Builder,StartAuditMitigationActionsTaskRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartAuditMitigationActionsTaskRequest.Builder taskId(String taskId)
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
taskId - A unique identifier for the task. You can use this identifier to check the status of the task or to
cancel it.StartAuditMitigationActionsTaskRequest.Builder target(AuditMitigationActionsTaskTarget target)
Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of audit check, to all findings from an audit, or to a specific set of findings.
target - Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type
of audit check, to all findings from an audit, or to a specific set of findings.default StartAuditMitigationActionsTaskRequest.Builder target(Consumer<AuditMitigationActionsTaskTarget.Builder> target)
Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of audit check, to all findings from an audit, or to a specific set of findings.
This is a convenience method 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.Buildertarget(AuditMitigationActionsTaskTarget)StartAuditMitigationActionsTaskRequest.Builder auditCheckToActionsMapping(Map<String,? extends Collection<String>> auditCheckToActionsMapping)
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
auditCheckToActionsMapping - For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your
Amazon Web Services accounts.StartAuditMitigationActionsTaskRequest.Builder clientRequestToken(String clientRequestToken)
Each audit mitigation task must have a unique client request token. If you try to start a new task with the same token as a task that already exists, an exception occurs. If you omit this value, a unique client request token is generated automatically.
clientRequestToken - Each audit mitigation task must have a unique client request token. If you try to start a new task
with the same token as a task that already exists, an exception occurs. If you omit this value, a
unique client request token is generated automatically.StartAuditMitigationActionsTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartAuditMitigationActionsTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.