### YamlMime:JavaType
uid: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri"
fullName: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri"
name: "IotHubMessageUri"
nameWithType: "IotHubMessageUri"
summary: "A URI for a device to poll for messages from an IoT Hub."
inheritances:
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public final class **IotHubMessageUri**"
constructors:
- uid: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.IotHubMessageUri()"
fullName: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.IotHubMessageUri()"
name: "IotHubMessageUri()"
nameWithType: "IotHubMessageUri.IotHubMessageUri()"
modifiers:
- "protected"
syntax: "protected IotHubMessageUri()"
- uid: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.IotHubMessageUri(java.lang.String,java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.IotHubMessageUri(String iotHubHostname, String deviceId, String moduleId)"
name: "IotHubMessageUri(String iotHubHostname, String deviceId, String moduleId)"
nameWithType: "IotHubMessageUri.IotHubMessageUri(String iotHubHostname, String deviceId, String moduleId)"
summary: "Constructor."
parameters:
- description: "the IoT Hub name."
name: "iotHubHostname"
type: ""
- description: "the device ID."
name: "deviceId"
type: ""
- description: "the module ID. May be null"
name: "moduleId"
type: ""
syntax: "public IotHubMessageUri(String iotHubHostname, String deviceId, String moduleId)"
desc: "Constructor. Returns a URI for a device to poll for messages from an IoT Hub. The URI does not include a protocol."
methods:
- uid: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.getHostname()"
fullName: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.getHostname()"
name: "getHostname()"
nameWithType: "IotHubMessageUri.getHostname()"
summary: "Returns the string representation of the IoT Hub hostname."
syntax: "public String getHostname()"
desc: "Returns the string representation of the IoT Hub hostname."
returns:
description: "the string representation of the IoT Hub hostname."
type: ""
- uid: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.getPath()"
fullName: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.getPath()"
name: "getPath()"
nameWithType: "IotHubMessageUri.getPath()"
summary: "Returns the string representation of the IoT Hub path."
syntax: "public String getPath()"
desc: "Returns the string representation of the IoT Hub path."
returns:
description: "the string representation of the IoT Hub path."
type: ""
- uid: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.toString()"
fullName: "com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri.toString()"
name: "toString()"
nameWithType: "IotHubMessageUri.toString()"
summary: "Returns the string representation of the IoT Hub message URI."
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
desc: "Returns the string representation of the IoT Hub message URI."
returns:
description: "the string representation of the IoT Hub message URI."
type: ""
type: "class"
desc: "A URI for a device to poll for messages from an IoT Hub."
metadata: {}
package: "com.microsoft.azure.sdk.iot.device.net"
artifact: com.microsoft.azure.sdk.iot:iot-device-client:1.30.1