@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddThingsToThingGroupParams extends Object implements Serializable, Cloneable, StructuredPojo
Parameters used when defining a mitigation action that move a set of things to a thing group.
Constructor and Description |
---|
AddThingsToThingGroupParams() |
Modifier and Type | Method and Description |
---|---|
AddThingsToThingGroupParams |
clone() |
boolean |
equals(Object obj) |
Boolean |
getOverrideDynamicGroups()
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.
|
List<String> |
getThingGroupNames()
The list of groups to which you want to add the things that triggered the mitigation action.
|
int |
hashCode() |
Boolean |
isOverrideDynamicGroups()
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOverrideDynamicGroups(Boolean 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.
|
void |
setThingGroupNames(Collection<String> thingGroupNames)
The list of groups to which you want to add the things that triggered the mitigation action.
|
String |
toString()
Returns a string representation of this object.
|
AddThingsToThingGroupParams |
withOverrideDynamicGroups(Boolean 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.
|
AddThingsToThingGroupParams |
withThingGroupNames(Collection<String> thingGroupNames)
The list of groups to which you want to add the things that triggered the mitigation action.
|
AddThingsToThingGroupParams |
withThingGroupNames(String... thingGroupNames)
The list of groups to which you want to add the things that triggered the mitigation action.
|
public List<String> getThingGroupNames()
The list of groups to which you want to add the things that triggered the mitigation action. 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.
public void setThingGroupNames(Collection<String> thingGroupNames)
The list of groups to which you want to add the things that triggered the mitigation action. 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.
thingGroupNames
- The list of groups to which you want to add the things that triggered the mitigation action. 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.public AddThingsToThingGroupParams withThingGroupNames(String... thingGroupNames)
The list of groups to which you want to add the things that triggered the mitigation action. 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.
NOTE: This method appends the values to the existing list (if any). Use
setThingGroupNames(java.util.Collection)
or withThingGroupNames(java.util.Collection)
if you
want to override the existing values.
thingGroupNames
- The list of groups to which you want to add the things that triggered the mitigation action. 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.public AddThingsToThingGroupParams withThingGroupNames(Collection<String> thingGroupNames)
The list of groups to which you want to add the things that triggered the mitigation action. 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.
thingGroupNames
- The list of groups to which you want to add the things that triggered the mitigation action. 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.public void setOverrideDynamicGroups(Boolean 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.
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.public Boolean getOverrideDynamicGroups()
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.
public AddThingsToThingGroupParams withOverrideDynamicGroups(Boolean 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.
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.public Boolean isOverrideDynamicGroups()
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.
public String toString()
toString
in class Object
Object.toString()
public AddThingsToThingGroupParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.