public static final class GetDeviceCredentialResponseBody.DeviceCredential.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetDeviceCredentialResponseBody.DeviceCredential |
build() |
GetDeviceCredentialResponseBody.DeviceCredential.Builder |
clientId(String clientId)
The client ID of the device.
|
GetDeviceCredentialResponseBody.DeviceCredential.Builder |
createTime(Long createTime)
The timestamp that indicates when the access credential of the device was created.
|
GetDeviceCredentialResponseBody.DeviceCredential.Builder |
deviceAccessKeyId(String deviceAccessKeyId)
The AccessKey ID of the device.
|
GetDeviceCredentialResponseBody.DeviceCredential.Builder |
deviceAccessKeySecret(String deviceAccessKeySecret)
The AccessKey secret of the device.
|
GetDeviceCredentialResponseBody.DeviceCredential.Builder |
instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance.
|
GetDeviceCredentialResponseBody.DeviceCredential.Builder |
updateTime(Long updateTime)
The timestamp that indicates when the access credential of the device was last updated.
|
public GetDeviceCredentialResponseBody.DeviceCredential.Builder clientId(String clientId)
The client ID of the device.
example:GID_test@@@test
public GetDeviceCredentialResponseBody.DeviceCredential.Builder createTime(Long createTime)
The timestamp that indicates when the access credential of the device was created. Unit: milliseconds.
example:1605541382000
public GetDeviceCredentialResponseBody.DeviceCredential.Builder deviceAccessKeyId(String deviceAccessKeyId)
The AccessKey ID of the device.
example:DC.Z5fXh9sRRVufyLi6wo****
public GetDeviceCredentialResponseBody.DeviceCredential.Builder deviceAccessKeySecret(String deviceAccessKeySecret)
The AccessKey secret of the device.
example:DC.BJMkn4eMQJK2vaApTS****
public GetDeviceCredentialResponseBody.DeviceCredential.Builder instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance.
example:post-cn-0pp12gl****
public GetDeviceCredentialResponseBody.DeviceCredential.Builder updateTime(Long updateTime)
The timestamp that indicates when the access credential of the device was last updated. The value of this parameter is a UNIX timestamp in milliseconds.
example:1605541382000
public GetDeviceCredentialResponseBody.DeviceCredential build()
Copyright © 2025. All rights reserved.