@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateEntityToThingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateEntityToThingRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateEntityToThingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEntityId()
The ID of the device to be associated with the thing.
|
Long |
getNamespaceVersion()
The version of the user's namespace.
|
String |
getThingName()
The name of the thing to which the entity is to be associated.
|
int |
hashCode() |
void |
setEntityId(String entityId)
The ID of the device to be associated with the thing.
|
void |
setNamespaceVersion(Long namespaceVersion)
The version of the user's namespace.
|
void |
setThingName(String thingName)
The name of the thing to which the entity is to be associated.
|
String |
toString()
Returns a string representation of this object.
|
AssociateEntityToThingRequest |
withEntityId(String entityId)
The ID of the device to be associated with the thing.
|
AssociateEntityToThingRequest |
withNamespaceVersion(Long namespaceVersion)
The version of the user's namespace.
|
AssociateEntityToThingRequest |
withThingName(String thingName)
The name of the thing to which the entity is to be associated.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setThingName(String thingName)
The name of the thing to which the entity is to be associated.
thingName
- The name of the thing to which the entity is to be associated.public String getThingName()
The name of the thing to which the entity is to be associated.
public AssociateEntityToThingRequest withThingName(String thingName)
The name of the thing to which the entity is to be associated.
thingName
- The name of the thing to which the entity is to be associated.public void setEntityId(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
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
public String getEntityId()
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 AssociateEntityToThingRequest withEntityId(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
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
public void setNamespaceVersion(Long namespaceVersion)
The version of the user's namespace. Defaults to the latest version of the user's namespace.
namespaceVersion
- The version of the user's namespace. Defaults to the latest version of the user's namespace.public Long getNamespaceVersion()
The version of the user's namespace. Defaults to the latest version of the user's namespace.
public AssociateEntityToThingRequest withNamespaceVersion(Long namespaceVersion)
The version of the user's namespace. Defaults to the latest version of the user's namespace.
namespaceVersion
- The version of the user's namespace. Defaults to the latest version of the user's namespace.public String toString()
toString
in class Object
Object.toString()
public AssociateEntityToThingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.