public static final class GetDeviceCertificateResponseBody.Data.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetDeviceCertificateResponseBody.Data |
build() |
GetDeviceCertificateResponseBody.Data.Builder |
caSn(String caSn)
The SN serial number of the CA certificate to which the device certificate belongs, used to uniquely identify a CA certificate.
|
GetDeviceCertificateResponseBody.Data.Builder |
deviceContent(String deviceContent)
Content of the device certificate.
|
GetDeviceCertificateResponseBody.Data.Builder |
deviceName(String deviceName)
Name of the device certificate.
|
GetDeviceCertificateResponseBody.Data.Builder |
deviceSn(String deviceSn)
The SN serial number of the device certificate, used to uniquely identify a device certificate.
|
GetDeviceCertificateResponseBody.Data.Builder |
status(String status)
The status of the device certificate.
|
GetDeviceCertificateResponseBody.Data.Builder |
validBegin(String validBegin)
The start time when the device certificate becomes effective.
|
GetDeviceCertificateResponseBody.Data.Builder |
validEnd(String validEnd)
The end time when the device certificate becomes effective.
|
public GetDeviceCertificateResponseBody.Data.Builder caSn(String caSn)
The SN serial number of the CA certificate to which the device certificate belongs, used to uniquely identify a CA certificate.
example:00f26900ba87******
public GetDeviceCertificateResponseBody.Data.Builder deviceContent(String deviceContent)
Content of the device certificate.
represents a new line.
example:-----BEGIN DEVICECERTIFICATE-----\nMIIDuzCCAqdGVzdC5jbi1xaW5n******\n-----END DEVICECERTIFICATE-----
public GetDeviceCertificateResponseBody.Data.Builder deviceName(String deviceName)
Name of the device certificate.
example:mqtt_device
public GetDeviceCertificateResponseBody.Data.Builder deviceSn(String deviceSn)
The SN serial number of the device certificate, used to uniquely identify a device certificate.
example:356217374433******
public GetDeviceCertificateResponseBody.Data.Builder status(String status)
The status of the device certificate. The values are as follows:
After the device certificate is registered, it is in an active state by default.
1
public GetDeviceCertificateResponseBody.Data.Builder validBegin(String validBegin)
The start time when the device certificate becomes effective. The format is a Unix timestamp in milliseconds.
example:1654137303000
public GetDeviceCertificateResponseBody.Data.Builder validEnd(String validEnd)
The end time when the device certificate becomes effective. The format is a Unix timestamp in milliseconds.
example:1969497303000
public GetDeviceCertificateResponseBody.Data build()
Copyright © 2025. All rights reserved.