public static final class RegisterCaCertificateRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
RegisterCaCertificateRequest |
build() |
RegisterCaCertificateRequest.Builder |
caContent(String caContent)
The content of the CA certificate that you want to register with an ApsaraMQ for MQTT broker.
|
RegisterCaCertificateRequest.Builder |
caName(String caName)
The name of the CA certificate that you want to register with an ApsaraMQ for MQTT broker.
|
RegisterCaCertificateRequest.Builder |
mqttInstanceId(String mqttInstanceId)
The ID of the ApsaraMQ for MQTT instance to which you want to bind the CA certificate.
|
RegisterCaCertificateRequest.Builder |
verificationContent(String verificationContent)
The content of the validation certificate issued by the CA certificate that you want to register with an ApsaraMQ for MQTT broker.
|
public RegisterCaCertificateRequest.Builder caContent(String caContent)
The content of the CA certificate that you want to register with an ApsaraMQ for MQTT broker.
In the example, \n indicates a line feed.
This parameter is required.
example:-----BEGIN CERTIFICATE-----\nMIIDuzCCAqdGVzdC5jbi1xaW5n******\n-----END CERTIFICATE-----
public RegisterCaCertificateRequest.Builder caName(String caName)
The name of the CA certificate that you want to register with an ApsaraMQ for MQTT broker.
This parameter is required.
example:mqtt_ca
public RegisterCaCertificateRequest.Builder mqttInstanceId(String mqttInstanceId)
The ID of the ApsaraMQ for MQTT instance to which you want to bind the CA certificate.
This parameter is required.
example:post-cn-7mz2d******
public RegisterCaCertificateRequest.Builder verificationContent(String verificationContent)
The content of the validation certificate issued by the CA certificate that you want to register with an ApsaraMQ for MQTT broker. The validation certificate must be used together with the registration code of the CA certificate to verify the private key of the CA certificate.
In the example, \n indicates a line feed.
This parameter is required.
example:-----BEGIN CERTIFICATE-----\nMIID/DCCAu+Y5sRMpp9tnd+4s******\n-----END CERTIFICATE-----
public RegisterCaCertificateRequest build()
Copyright © 2025. All rights reserved.