public static final class RegisterDeviceCredentialRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
RegisterDeviceCredentialRequest |
build() |
RegisterDeviceCredentialRequest.Builder |
clientId(String clientId)
The client ID of the device for which you want to create an access credential.
|
RegisterDeviceCredentialRequest.Builder |
instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance.
|
RegisterDeviceCredentialRequest.Builder |
regionId(String regionId)
This parameter is required.
|
public RegisterDeviceCredentialRequest.Builder regionId(String regionId)
This parameter is required.
public RegisterDeviceCredentialRequest.Builder clientId(String clientId)
The client ID of the device for which you want to create an access credential.
This parameter is required.
example:GID_test@@@test
public RegisterDeviceCredentialRequest.Builder instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance. The ID must be consistent with the ID of the instance that the ApsaraMQ for MQTT client uses. You can obtain the instance ID on the Instance Details page that corresponds to the instance in the ApsaraMQ for MQTT console.
This parameter is required.
example:post-cn-0pp12gl****
public RegisterDeviceCredentialRequest build()
Copyright © 2025. All rights reserved.