public static final class GetDeviceCredentialRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetDeviceCredentialRequest |
build() |
GetDeviceCredentialRequest.Builder |
clientId(String clientId)
The client ID of the device whose access credential you want to query.
|
GetDeviceCredentialRequest.Builder |
instanceId(String instanceId)
The ID of the ApsaraMQ for MQTT instance.
|
GetDeviceCredentialRequest.Builder |
regionId(String regionId)
This parameter is required.
|
public GetDeviceCredentialRequest.Builder regionId(String regionId)
This parameter is required.
public GetDeviceCredentialRequest.Builder clientId(String clientId)
The client ID of the device whose access credential you want to query.
This parameter is required.
example:GID_test@@@test
public GetDeviceCredentialRequest.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 GetDeviceCredentialRequest build()
Copyright © 2025. All rights reserved.