azure-docs-sdk-java/docs-ref-autogen/com.azure.messaging.eventgr...

335 строки
25 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo"
name: "DeviceTwinInfo"
nameWithType: "DeviceTwinInfo"
summary: "Information about the device twin, which is the cloud representation of application device metadata."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **DeviceTwinInfo**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.DeviceTwinInfo()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.DeviceTwinInfo()"
name: "DeviceTwinInfo()"
nameWithType: "DeviceTwinInfo.DeviceTwinInfo()"
summary: "Creates an instance of Device<wbr>Twin<wbr>Info class."
syntax: "public DeviceTwinInfo()"
desc: "Creates an instance of DeviceTwinInfo class."
methods:
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DeviceTwinInfo.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Device<wbr>Twin<wbr>Info from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static DeviceTwinInfo fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the DeviceTwinInfo."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of DeviceTwinInfo from the JsonReader."
returns:
description: "An instance of DeviceTwinInfo if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getAuthenticationType()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getAuthenticationType()"
name: "getAuthenticationType()"
nameWithType: "DeviceTwinInfo.getAuthenticationType()"
summary: "Get the authentication<wbr>Type property: Authentication type used for this device: either SAS, Self<wbr>Signed, or Certificate<wbr>Authority."
syntax: "public String getAuthenticationType()"
desc: "Get the authenticationType property: Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority."
returns:
description: "the authenticationType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getCloudToDeviceMessageCount()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getCloudToDeviceMessageCount()"
name: "getCloudToDeviceMessageCount()"
nameWithType: "DeviceTwinInfo.getCloudToDeviceMessageCount()"
summary: "Get the cloud<wbr>ToDevice<wbr>Message<wbr>Count property: Count of cloud to device messages sent to this device."
syntax: "public Float getCloudToDeviceMessageCount()"
desc: "Get the cloudToDeviceMessageCount property: Count of cloud to device messages sent to this device."
returns:
description: "the cloudToDeviceMessageCount value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html\">Float</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getConnectionState()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getConnectionState()"
name: "getConnectionState()"
nameWithType: "DeviceTwinInfo.getConnectionState()"
summary: "Get the connection<wbr>State property: Whether the device is connected or disconnected."
syntax: "public String getConnectionState()"
desc: "Get the connectionState property: Whether the device is connected or disconnected."
returns:
description: "the connectionState value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getDeviceId()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getDeviceId()"
name: "getDeviceId()"
nameWithType: "DeviceTwinInfo.getDeviceId()"
summary: "Get the device<wbr>Id property: The unique identifier of the device twin."
syntax: "public String getDeviceId()"
desc: "Get the deviceId property: The unique identifier of the device twin."
returns:
description: "the deviceId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getEtag()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getEtag()"
name: "getEtag()"
nameWithType: "DeviceTwinInfo.getEtag()"
summary: "Get the etag property: A piece of information that describes the content of the device twin."
syntax: "public String getEtag()"
desc: "Get the etag property: A piece of information that describes the content of the device twin. Each etag is guaranteed to be unique per device twin."
returns:
description: "the etag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getLastActivityTime()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getLastActivityTime()"
name: "getLastActivityTime()"
nameWithType: "DeviceTwinInfo.getLastActivityTime()"
summary: "Get the last<wbr>Activity<wbr>Time property: The ISO8601 timestamp of the last activity."
syntax: "public String getLastActivityTime()"
desc: "Get the lastActivityTime property: The ISO8601 timestamp of the last activity."
returns:
description: "the lastActivityTime value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getProperties()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getProperties()"
name: "getProperties()"
nameWithType: "DeviceTwinInfo.getProperties()"
summary: "Get the properties property: Properties JSON element."
syntax: "public DeviceTwinInfoProperties getProperties()"
desc: "Get the properties property: Properties JSON element."
returns:
description: "the properties value."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoProperties?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoProperties&text=DeviceTwinInfoProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getStatus()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getStatus()"
name: "getStatus()"
nameWithType: "DeviceTwinInfo.getStatus()"
summary: "Get the status property: Whether the device twin is enabled or disabled."
syntax: "public String getStatus()"
desc: "Get the status property: Whether the device twin is enabled or disabled."
returns:
description: "the status value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getStatusUpdateTime()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getStatusUpdateTime()"
name: "getStatusUpdateTime()"
nameWithType: "DeviceTwinInfo.getStatusUpdateTime()"
summary: "Get the status<wbr>Update<wbr>Time property: The ISO8601 timestamp of the last device twin status update."
syntax: "public String getStatusUpdateTime()"
desc: "Get the statusUpdateTime property: The ISO8601 timestamp of the last device twin status update."
returns:
description: "the statusUpdateTime value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getVersion()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getVersion()"
name: "getVersion()"
nameWithType: "DeviceTwinInfo.getVersion()"
summary: "Get the version property: An integer that is incremented by one each time the device twin is updated."
syntax: "public Float getVersion()"
desc: "Get the version property: An integer that is incremented by one each time the device twin is updated."
returns:
description: "the version value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html\">Float</a>"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getX509Thumbprint()"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.getX509Thumbprint()"
name: "getX509Thumbprint()"
nameWithType: "DeviceTwinInfo.getX509Thumbprint()"
summary: "Get the x509Thumbprint property: The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store."
syntax: "public DeviceTwinInfoX509Thumbprint getX509Thumbprint()"
desc: "Get the x509Thumbprint property: The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate."
returns:
description: "the x509Thumbprint value."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoX509Thumbprint?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoX509Thumbprint&text=DeviceTwinInfoX509Thumbprint\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setAuthenticationType(java.lang.String)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setAuthenticationType(String authenticationType)"
name: "setAuthenticationType(String authenticationType)"
nameWithType: "DeviceTwinInfo.setAuthenticationType(String authenticationType)"
summary: "Set the authentication<wbr>Type property: Authentication type used for this device: either SAS, Self<wbr>Signed, or Certificate<wbr>Authority."
parameters:
- description: "the authenticationType value to set."
name: "authenticationType"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DeviceTwinInfo setAuthenticationType(String authenticationType)"
desc: "Set the authenticationType property: Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setCloudToDeviceMessageCount(java.lang.Float)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setCloudToDeviceMessageCount(Float cloudToDeviceMessageCount)"
name: "setCloudToDeviceMessageCount(Float cloudToDeviceMessageCount)"
nameWithType: "DeviceTwinInfo.setCloudToDeviceMessageCount(Float cloudToDeviceMessageCount)"
summary: "Set the cloud<wbr>ToDevice<wbr>Message<wbr>Count property: Count of cloud to device messages sent to this device."
parameters:
- description: "the cloudToDeviceMessageCount value to set."
name: "cloudToDeviceMessageCount"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html\">Float</a>"
syntax: "public DeviceTwinInfo setCloudToDeviceMessageCount(Float cloudToDeviceMessageCount)"
desc: "Set the cloudToDeviceMessageCount property: Count of cloud to device messages sent to this device."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setConnectionState(java.lang.String)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setConnectionState(String connectionState)"
name: "setConnectionState(String connectionState)"
nameWithType: "DeviceTwinInfo.setConnectionState(String connectionState)"
summary: "Set the connection<wbr>State property: Whether the device is connected or disconnected."
parameters:
- description: "the connectionState value to set."
name: "connectionState"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DeviceTwinInfo setConnectionState(String connectionState)"
desc: "Set the connectionState property: Whether the device is connected or disconnected."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setDeviceId(java.lang.String)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setDeviceId(String deviceId)"
name: "setDeviceId(String deviceId)"
nameWithType: "DeviceTwinInfo.setDeviceId(String deviceId)"
summary: "Set the device<wbr>Id property: The unique identifier of the device twin."
parameters:
- description: "the deviceId value to set."
name: "deviceId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DeviceTwinInfo setDeviceId(String deviceId)"
desc: "Set the deviceId property: The unique identifier of the device twin."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setEtag(java.lang.String)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setEtag(String etag)"
name: "setEtag(String etag)"
nameWithType: "DeviceTwinInfo.setEtag(String etag)"
summary: "Set the etag property: A piece of information that describes the content of the device twin."
parameters:
- description: "the etag value to set."
name: "etag"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DeviceTwinInfo setEtag(String etag)"
desc: "Set the etag property: A piece of information that describes the content of the device twin. Each etag is guaranteed to be unique per device twin."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setLastActivityTime(java.lang.String)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setLastActivityTime(String lastActivityTime)"
name: "setLastActivityTime(String lastActivityTime)"
nameWithType: "DeviceTwinInfo.setLastActivityTime(String lastActivityTime)"
summary: "Set the last<wbr>Activity<wbr>Time property: The ISO8601 timestamp of the last activity."
parameters:
- description: "the lastActivityTime value to set."
name: "lastActivityTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DeviceTwinInfo setLastActivityTime(String lastActivityTime)"
desc: "Set the lastActivityTime property: The ISO8601 timestamp of the last activity."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setProperties(com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoProperties)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setProperties(DeviceTwinInfoProperties properties)"
name: "setProperties(DeviceTwinInfoProperties properties)"
nameWithType: "DeviceTwinInfo.setProperties(DeviceTwinInfoProperties properties)"
summary: "Set the properties property: Properties JSON element."
parameters:
- description: "the properties value to set."
name: "properties"
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoProperties?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoProperties&text=DeviceTwinInfoProperties\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DeviceTwinInfo setProperties(DeviceTwinInfoProperties properties)"
desc: "Set the properties property: Properties JSON element."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setStatus(java.lang.String)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setStatus(String status)"
name: "setStatus(String status)"
nameWithType: "DeviceTwinInfo.setStatus(String status)"
summary: "Set the status property: Whether the device twin is enabled or disabled."
parameters:
- description: "the status value to set."
name: "status"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DeviceTwinInfo setStatus(String status)"
desc: "Set the status property: Whether the device twin is enabled or disabled."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setStatusUpdateTime(java.lang.String)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setStatusUpdateTime(String statusUpdateTime)"
name: "setStatusUpdateTime(String statusUpdateTime)"
nameWithType: "DeviceTwinInfo.setStatusUpdateTime(String statusUpdateTime)"
summary: "Set the status<wbr>Update<wbr>Time property: The ISO8601 timestamp of the last device twin status update."
parameters:
- description: "the statusUpdateTime value to set."
name: "statusUpdateTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DeviceTwinInfo setStatusUpdateTime(String statusUpdateTime)"
desc: "Set the statusUpdateTime property: The ISO8601 timestamp of the last device twin status update."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setVersion(java.lang.Float)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setVersion(Float version)"
name: "setVersion(Float version)"
nameWithType: "DeviceTwinInfo.setVersion(Float version)"
summary: "Set the version property: An integer that is incremented by one each time the device twin is updated."
parameters:
- description: "the version value to set."
name: "version"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html\">Float</a>"
syntax: "public DeviceTwinInfo setVersion(Float version)"
desc: "Set the version property: An integer that is incremented by one each time the device twin is updated."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setX509Thumbprint(com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoX509Thumbprint)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.setX509Thumbprint(DeviceTwinInfoX509Thumbprint x509Thumbprint)"
name: "setX509Thumbprint(DeviceTwinInfoX509Thumbprint x509Thumbprint)"
nameWithType: "DeviceTwinInfo.setX509Thumbprint(DeviceTwinInfoX509Thumbprint x509Thumbprint)"
summary: "Set the x509Thumbprint property: The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store."
parameters:
- description: "the x509Thumbprint value to set."
name: "x509Thumbprint"
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoX509Thumbprint?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoX509Thumbprint&text=DeviceTwinInfoX509Thumbprint\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DeviceTwinInfo setX509Thumbprint(DeviceTwinInfoX509Thumbprint x509Thumbprint)"
desc: "Set the x509Thumbprint property: The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate."
returns:
description: "the DeviceTwinInfo object itself."
type: "<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DeviceTwinInfo.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Information about the device twin, which is the cloud representation of application device metadata."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo?alt=com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo&text=DeviceTwinInfo\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.messaging.eventgrid.systemevents"
artifact: com.azure:azure-messaging-eventgrid:4.26.0