@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 String thingName()
The name of the thing to which the entity is to be associated.
public 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 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.