Class CfnMitigationActionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnMitigationActionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationActionMixinProps>
- Enclosing interface:
CfnMitigationActionMixinProps
@Stability(Stable)
public static final class CfnMitigationActionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationActionMixinProps>
A builder for
CfnMitigationActionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) Sets the value ofCfnMitigationActionMixinProps.getActionName()Sets the value ofCfnMitigationActionMixinProps.getActionParams()actionParams(IResolvable actionParams) Sets the value ofCfnMitigationActionMixinProps.getActionParams()build()Builds the configured instance.Sets the value ofCfnMitigationActionMixinProps.getRoleArn()Sets the value ofCfnMitigationActionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionName
Sets the value ofCfnMitigationActionMixinProps.getActionName()- Parameters:
actionName- The friendly name of the mitigation action.- Returns:
this
-
actionParams
@Stability(Stable) public CfnMitigationActionMixinProps.Builder actionParams(IResolvable actionParams) Sets the value ofCfnMitigationActionMixinProps.getActionParams()- Parameters:
actionParams- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.- Returns:
this
-
actionParams
@Stability(Stable) public CfnMitigationActionMixinProps.Builder actionParams(CfnMitigationActionPropsMixin.ActionParamsProperty actionParams) Sets the value ofCfnMitigationActionMixinProps.getActionParams()- Parameters:
actionParams- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.- Returns:
this
-
roleArn
Sets the value ofCfnMitigationActionMixinProps.getRoleArn()- Parameters:
roleArn- The IAM role ARN used to apply this mitigation action.- Returns:
this
-
tags
Sets the value ofCfnMitigationActionMixinProps.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<CfnMitigationActionMixinProps>- Returns:
- a new instance of
CfnMitigationActionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-