Interface UpdateMitigationActionRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMitigationActionRequest.Builder,,UpdateMitigationActionRequest> IotRequest.Builder,SdkBuilder<UpdateMitigationActionRequest.Builder,,UpdateMitigationActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 UpdateMitigationActionRequest
public static interface UpdateMitigationActionRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateMitigationActionRequest.Builder,UpdateMitigationActionRequest> 
- 
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) The friendly name for the mitigation action.actionParams(Consumer<MitigationActionParams.Builder> actionParams) Defines the type of action and the parameters for that action.actionParams(MitigationActionParams actionParams) Defines the type of action and the parameters for that action.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the IAM role that is used to apply the mitigation action.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
actionName
The friendly name for the mitigation action. You cannot change the name by using
UpdateMitigationAction. Instead, you must delete and recreate the mitigation action with the new name.- Parameters:
 actionName- The friendly name for the mitigation action. You cannot change the name by usingUpdateMitigationAction. Instead, you must delete and recreate the mitigation action with the new name.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
roleArn
The ARN of the IAM role that is used to apply the mitigation action.
- Parameters:
 roleArn- The ARN of the IAM role that is used to apply the mitigation action.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
actionParams
Defines the type of action and the parameters for that action.
- Parameters:
 actionParams- Defines the type of action and the parameters for that action.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
actionParams
default UpdateMitigationActionRequest.Builder actionParams(Consumer<MitigationActionParams.Builder> actionParams) Defines the type of action and the parameters for that action.
This is a convenience method that creates an instance of theMitigationActionParams.Builderavoiding the need to create one manually viaMitigationActionParams.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionParams(MitigationActionParams).- Parameters:
 actionParams- a consumer that will call methods onMitigationActionParams.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
overrideConfiguration
UpdateMitigationActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
UpdateMitigationActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -