public class Connection extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Connection.StatusEnum
终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中
|
| Constructor and Description |
|---|
Connection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCreatedAt()
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
String |
getDomainId()
用户的Domain ID。
|
String |
getId()
终端节点的ID,唯一标识。
|
Integer |
getMarkerId()
终端节点的报文标识。
|
Connection.StatusEnum |
getStatus()
终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中
|
String |
getUpdatedAt()
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
int |
hashCode() |
void |
setCreatedAt(String createdAt) |
void |
setDomainId(String domainId) |
void |
setId(String id) |
void |
setMarkerId(Integer markerId) |
void |
setStatus(Connection.StatusEnum status) |
void |
setUpdatedAt(String updatedAt) |
String |
toString() |
Connection |
withCreatedAt(String createdAt) |
Connection |
withDomainId(String domainId) |
Connection |
withId(String id) |
Connection |
withMarkerId(Integer markerId) |
Connection |
withStatus(Connection.StatusEnum status) |
Connection |
withUpdatedAt(String updatedAt) |
public Connection withId(String id)
public String getId()
public void setId(String id)
public Connection withMarkerId(Integer markerId)
public Integer getMarkerId()
public void setMarkerId(Integer markerId)
public Connection withCreatedAt(String createdAt)
public String getCreatedAt()
public void setCreatedAt(String createdAt)
public Connection withUpdatedAt(String updatedAt)
public String getUpdatedAt()
public void setUpdatedAt(String updatedAt)
public Connection withDomainId(String domainId)
public String getDomainId()
public void setDomainId(String domainId)
public Connection withStatus(Connection.StatusEnum status)
public Connection.StatusEnum getStatus()
public void setStatus(Connection.StatusEnum status)
Copyright © 2022. All rights reserved.