IotHubConnectionString 类

定义

Expose all connections string properties and methods for user, device and connection string serialization.

public class IotHubConnectionString extends IotHubConnectionStringBuilder
继承
java.lang.Object
IotHubConnectionString

继承成员

构造函数

IotHubConnectionString()

字段

authenticationMethod
HOST_NAME_PROPERTY_NAME
HOST_NAME_SEPARATOR
hostName
iotHubName
SHARED_ACCESS_KEY_NAME_PROPERTY_NAME
SHARED_ACCESS_KEY_PROPERTY_NAME
SHARED_ACCESS_SIGNATURE_PROPERTY_NAME
sharedAccessKey
sharedAccessKeyName
sharedAccessSignature
VALUE_PAIR_DELIMITER
VALUE_PAIR_SEPARATOR

方法

getAuthenticationMethod()

Getter for authenticationMethod

getHostName()

Getter for hostName

getIotHubName()

Getter for iotHubName

getSharedAccessKey()

Getter for sharedAccessKey

getSharedAccessKeyName()

Getter for sharedAccessKeyName

getSharedAccessSignature()

Getter for sharedAccessSignature

getUrlApplyConfigurationContent(String deviceId)

Create the url needed to apply some configuration content to a device

getUrlApplyConfigurationContent(String hostName, String deviceId)

Create the url needed to apply some configuration content to a device

getUrlConfiguration(String configurationId)

Create url for requesting configuration data

getUrlConfiguration(String hostName, String configurationId)

Create url for requesting configuration data

getUrlConfigurationsList(Integer maxCount)

Create url for requesting configuration data

getUrlConfigurationsList(String hostName, Integer maxCount)

Create url for requesting configuration data

getUrlCreateExportImportJob()

Create url for processing a bulk import/export job

getUrlCreateExportImportJob(String hostName)

Create url for processing a bulk import/export job

getUrlDevice(String deviceId)

Create url for requesting device data

getUrlDevice(String hostName, String deviceId)

Create url for requesting device data

getUrlDeviceList(Integer maxCount)

Create url for requesting device list

getUrlDeviceList(String hostName, Integer maxCount)

Create url for requesting device list

getUrlDeviceStatistics()

Create url for requesting device statistics

getUrlDeviceStatistics(String hostName)

Create url for requesting device statistics

getUrlImportExportJob(String hostName, String jobId)
getUrlImportExportJob(String jobId)
getUrlJobs(String hostName, String jobId)

Create url for requesting jobs

getUrlJobs(String jobId)

Create url for requesting jobs

getUrlJobsCancel(String hostName, String jobId)

Create url for cancelling jobs

getUrlJobsCancel(String jobId)

Create url for cancelling jobs

getUrlMethod(String deviceId)

Create url for requesting device method

getUrlMethod(String hostName, String deviceId)

Create url for requesting device method

getUrlModule(String deviceId, String moduleId)

Create url for requesting module data

getUrlModule(String hostName, String deviceId, String moduleId)

Create url for requesting module data

getUrlModuleMethod(String deviceId, String moduleId)

Create url for requesting device method for module

getUrlModuleMethod(String hostName, String deviceId, String moduleId)

Create url for requesting device method for module

getUrlModulesOnDevice(String deviceId)

Create url for requesting all modules data on a device

getUrlModulesOnDevice(String hostName, String deviceId)

Create url for requesting all modules data on a device

getUrlModuleTwin(String deviceId, String moduleId)

Create url for requesting module twin

getUrlModuleTwin(String hostName, String deviceId, String moduleId)

Create url for requesting module twin

getUrlQuery(String hostName, String jobType, String jobStatus)

Create url for querying

getUrlQuery(String jobType, String jobStatus)

Create url for querying

getUrlTwin(String deviceId)

Create url for requesting device twin

getUrlTwin(String hostName, String deviceId)

Create url for requesting device twin

getUrlTwinQuery()

Create url for querying twin

getUrlTwinQuery(String hostName)

Create url for querying twin

getUserString()

Serialize user string

setSharedAccessKey(String sharedAccessKey)

Setter for sharedAccessKey

setSharedAccessKeyName(String sharedAccessKeyName)

Setter for sharedAccessKeyName

setSharedAccessSignature(String sharedAccessSignature)

Setter for sharedAccessSignature

toString()

Serialize connection string

适用于