Class MitigationActionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iot.MitigationActionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MitigationActionReference>
- Enclosing interface:
MitigationActionReference
@Stability(Stable)
public static final class MitigationActionReference.Builder
extends Object
implements software.amazon.jsii.Builder<MitigationActionReference>
A builder for
MitigationActionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) Sets the value ofMitigationActionReference.getActionName()build()Builds the configured instance.mitigationActionArn(String mitigationActionArn) Sets the value ofMitigationActionReference.getMitigationActionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionName
Sets the value ofMitigationActionReference.getActionName()- Parameters:
actionName- The ActionName of the MitigationAction resource. This parameter is required.- Returns:
this
-
mitigationActionArn
@Stability(Stable) public MitigationActionReference.Builder mitigationActionArn(String mitigationActionArn) Sets the value ofMitigationActionReference.getMitigationActionArn()- Parameters:
mitigationActionArn- The ARN of the MitigationAction resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MitigationActionReference>- Returns:
- a new instance of
MitigationActionReference - Throws:
NullPointerException- if any required attribute was not provided
-