@Generated(value="software.amazon.awssdk:codegen") public final class AssociateEntityToThingRequest extends IoTThingsGraphRequest implements ToCopyableBuilder<AssociateEntityToThingRequest.Builder,AssociateEntityToThingRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociateEntityToThingRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssociateEntityToThingRequest.Builder |
builder() |
String |
entityId()
The ID of the device to be associated with the thing.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
namespaceVersion()
The version of the user's namespace.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociateEntityToThingRequest.Builder> |
serializableBuilderClass() |
String |
thingName()
The name of the thing to which the entity is to be associated.
|
AssociateEntityToThingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String thingName()
The name of the thing to which the entity is to be associated.
public final String entityId()
The ID of the device to be associated with the thing.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
public final Long namespaceVersion()
The version of the user's namespace. Defaults to the latest version of the user's namespace.
public AssociateEntityToThingRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociateEntityToThingRequest.Builder,AssociateEntityToThingRequest>toBuilder in class IoTThingsGraphRequestpublic static AssociateEntityToThingRequest.Builder builder()
public static Class<? extends AssociateEntityToThingRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.