public static interface UpdateMitigationActionRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateMitigationActionRequest.Builder,UpdateMitigationActionRequest>
Modifier and Type | Method and Description |
---|---|
UpdateMitigationActionRequest.Builder |
actionName(String actionName)
The friendly name for the mitigation action.
|
default UpdateMitigationActionRequest.Builder |
actionParams(Consumer<MitigationActionParams.Builder> actionParams)
Defines the type of action and the parameters for that action.
|
UpdateMitigationActionRequest.Builder |
actionParams(MitigationActionParams actionParams)
Defines the type of action and the parameters for that action.
|
UpdateMitigationActionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateMitigationActionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateMitigationActionRequest.Builder |
roleArn(String roleArn)
The ARN of the IAM role that is used to apply the mitigation action.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateMitigationActionRequest.Builder actionName(String actionName)
The friendly name for the mitigation action. You can't change the name by using
UpdateMitigationAction
. Instead, you must delete and re-create the mitigation action with the
new name.
actionName
- The friendly name for the mitigation action. You can't change the name by using
UpdateMitigationAction
. Instead, you must delete and re-create the mitigation action with
the new name.UpdateMitigationActionRequest.Builder roleArn(String roleArn)
The ARN of the IAM role that is used to apply the mitigation action.
roleArn
- The ARN of the IAM role that is used to apply the mitigation action.UpdateMitigationActionRequest.Builder actionParams(MitigationActionParams actionParams)
Defines the type of action and the parameters for that action.
actionParams
- Defines the type of action and the parameters for that action.default UpdateMitigationActionRequest.Builder actionParams(Consumer<MitigationActionParams.Builder> actionParams)
Defines the type of action and the parameters for that action.
This is a convenience that creates an instance of theMitigationActionParams.Builder
avoiding the
need to create one manually via MitigationActionParams.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to actionParams(MitigationActionParams)
.actionParams
- a consumer that will call methods on MitigationActionParams.Builder
actionParams(MitigationActionParams)
UpdateMitigationActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateMitigationActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.