Class CfnMitigationAction.AddThingsToThingGroupParamsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnMitigationAction.AddThingsToThingGroupParamsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationAction.AddThingsToThingGroupParamsProperty>
- Enclosing interface:
CfnMitigationAction.AddThingsToThingGroupParamsProperty
@Stability(Stable)
public static final class CfnMitigationAction.AddThingsToThingGroupParamsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationAction.AddThingsToThingGroupParamsProperty>
A builder for
CfnMitigationAction.AddThingsToThingGroupParamsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.overrideDynamicGroups
(Boolean overrideDynamicGroups) overrideDynamicGroups
(IResolvable overrideDynamicGroups) thingGroupNames
(List<String> thingGroupNames)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
thingGroupNames
@Stability(Stable) public CfnMitigationAction.AddThingsToThingGroupParamsProperty.Builder thingGroupNames(List<String> thingGroupNames) - Parameters:
thingGroupNames
- The list of groups to which you want to add the things that triggered the mitigation action. This parameter is required. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.- Returns:
this
-
overrideDynamicGroups
@Stability(Stable) public CfnMitigationAction.AddThingsToThingGroupParamsProperty.Builder overrideDynamicGroups(Boolean overrideDynamicGroups) Sets the value ofCfnMitigationAction.AddThingsToThingGroupParamsProperty.getOverrideDynamicGroups()
- Parameters:
overrideDynamicGroups
- Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.- Returns:
this
-
overrideDynamicGroups
@Stability(Stable) public CfnMitigationAction.AddThingsToThingGroupParamsProperty.Builder overrideDynamicGroups(IResolvable overrideDynamicGroups) Sets the value ofCfnMitigationAction.AddThingsToThingGroupParamsProperty.getOverrideDynamicGroups()
- Parameters:
overrideDynamicGroups
- Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMitigationAction.AddThingsToThingGroupParamsProperty>
- Returns:
- a new instance of
CfnMitigationAction.AddThingsToThingGroupParamsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-