Class CfnMitigationActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnMitigationActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationActionProps>
- Enclosing interface:
CfnMitigationActionProps
@Stability(Stable)
public static final class CfnMitigationActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationActionProps>
A builder for
CfnMitigationActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) Sets the value ofCfnMitigationActionProps.getActionName()actionParams(IResolvable actionParams) Sets the value ofCfnMitigationActionProps.getActionParams()actionParams(CfnMitigationAction.ActionParamsProperty actionParams) Sets the value ofCfnMitigationActionProps.getActionParams()build()Builds the configured instance.Sets the value ofCfnMitigationActionProps.getRoleArn()Sets the value ofCfnMitigationActionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionParams
Sets the value ofCfnMitigationActionProps.getActionParams()- Parameters:
actionParams- The set of parameters for this mitigation action. This parameter is required. The parameters vary, depending on the kind of action you apply.- Returns:
this
-
actionParams
@Stability(Stable) public CfnMitigationActionProps.Builder actionParams(CfnMitigationAction.ActionParamsProperty actionParams) Sets the value ofCfnMitigationActionProps.getActionParams()- Parameters:
actionParams- The set of parameters for this mitigation action. This parameter is required. The parameters vary, depending on the kind of action you apply.- Returns:
this
-
roleArn
Sets the value ofCfnMitigationActionProps.getRoleArn()- Parameters:
roleArn- The IAM role ARN used to apply this mitigation action. This parameter is required.- Returns:
this
-
actionName
Sets the value ofCfnMitigationActionProps.getActionName()- Parameters:
actionName- The friendly name of the mitigation action.- Returns:
this
-
tags
Sets the value ofCfnMitigationActionProps.getTags()- Parameters:
tags- Metadata that can be used to manage the mitigation action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMitigationActionProps>- Returns:
- a new instance of
CfnMitigationActionProps - Throws:
NullPointerException- if any required attribute was not provided
-