RegisterManager Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. deps. twin. RegisterManager
- com.
public class RegisterManager
Twin management representation This class is part of the Twin. It contains the Device identity management.
Field Summary
Modifier and Type | Field and Description |
---|---|
protected
Device |
capabilities |
protected
Twin |
connectionState |
protected java.lang.String | connectionStateUpdatedTime |
protected java.lang.String | deviceId |
protected java.lang.String | eTag |
protected java.lang.String | generationId |
protected java.lang.String | lastActivityTime |
protected java.lang.String | modelId |
protected java.lang.String | moduleId |
protected
Twin |
status |
protected java.lang.String | statusReason |
protected java.lang.String | statusUpdatedTime |
protected java.lang.Integer | version |
Method Summary
Modifier and Type | Method and Description |
---|---|
Device |
getCapabilities()
Getter for the Capabilities |
java.lang.String |
getDeviceId()
Getter for the Device |
java.lang.String |
getETag()
Getter for the ETag |
java.lang.String | getModelId() |
java.lang.String |
getModuleId()
Getter for the Module |
java.lang.Integer |
getVersion()
Getter for the Version |
void |
setCapabilities(DeviceCapabilities capabilities)
Setter for the Capabilities |
void |
setDeviceId(String deviceId)
Setter for the Device |
void |
setETag(String eTag)
Setter for the ETag |
void | setModelId(String modelId) |
void |
setModuleId(String moduleId)
Setter for the Module |
Methods inherited from java.lang.Object
Field Details
capabilities
protected DeviceCapabilities capabilities
connectionState
protected TwinConnectionState connectionState
connectionStateUpdatedTime
protected String connectionStateUpdatedTime
deviceId
protected String deviceId
eTag
protected String eTag
generationId
protected String generationId
lastActivityTime
protected String lastActivityTime
modelId
protected String modelId
moduleId
protected String moduleId
status
protected TwinStatus status
statusReason
protected String statusReason
statusUpdatedTime
protected String statusUpdatedTime
version
protected Integer version
Method Details
getCapabilities
public DeviceCapabilities getCapabilities()
Getter for the Capabilities
Returns:
String
with the stored ModuleId.getDeviceId
public String getDeviceId()
Getter for the DeviceId
Returns:
String
with the stored DeviceID.getETag
public String getETag()
Getter for the ETag
Returns:
String
with the stored ETag.getModelId
public String getModelId()
getModuleId
public String getModuleId()
Getter for the ModuleId
Returns:
String
with the stored ModuleId.getVersion
public Integer getVersion()
Getter for the Version
Returns:
Integer
with the stored version.setCapabilities
public void setCapabilities(DeviceCapabilities capabilities)
Setter for the Capabilities
Parameters:
Throws:
setDeviceId
public void setDeviceId(String deviceId)
Setter for the DeviceId
Parameters:
String
that contains the new DeviceID.
Throws:
setETag
public void setETag(String eTag)
Setter for the ETag
Parameters:
String
that contains the new ETag.
setModelId
public void setModelId(String modelId)
Parameters:
setModuleId
public void setModuleId(String moduleId)
Setter for the ModuleId
Parameters:
String
that contains the new ModuleId.
Throws:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for