@Generated(value="software.amazon.awssdk:codegen") public final class UpdateThingGroupsForThingRequest extends IotRequest implements ToCopyableBuilder<UpdateThingGroupsForThingRequest.Builder,UpdateThingGroupsForThingRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateThingGroupsForThingRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateThingGroupsForThingRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Boolean |
overrideDynamicGroups()
Override dynamic thing groups with static thing groups when 10-group limit is reached.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateThingGroupsForThingRequest.Builder> |
serializableBuilderClass() |
List<String> |
thingGroupsToAdd()
The groups to which the thing will be added.
|
List<String> |
thingGroupsToRemove()
The groups from which the thing will be removed.
|
String |
thingName()
The thing whose group memberships will be updated.
|
UpdateThingGroupsForThingRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String thingName()
The thing whose group memberships will be updated.
public List<String> thingGroupsToAdd()
The groups to which the thing will be added.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> thingGroupsToRemove()
The groups from which the thing will be removed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean overrideDynamicGroups()
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
public UpdateThingGroupsForThingRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateThingGroupsForThingRequest.Builder,UpdateThingGroupsForThingRequest>
toBuilder
in class IotRequest
public static UpdateThingGroupsForThingRequest.Builder builder()
public static Class<? extends UpdateThingGroupsForThingRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.