IotHubAbandonUri Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. net. IotHubAbandonUri
- com.
public final class IotHubAbandonUri
A URI for a device to instruct an IoT Hub to mark a message as being abandoned.
Constructor Summary
| Modifier | Constructor | Description | |
|---|---|---|---|
| protected | IotHubAbandonUri() | ||
| IotHubAbandonUri(String iotHubHostname, String deviceId, String eTag, String moduleId) |
Constructor. |
||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getHostname()
Returns the string representation of the IoT Hub hostname. |
| java.lang.String |
getPath()
Returns the string representation of the IoT Hub path. |
| java.lang.String |
toString()
Returns the string representation of the IoT Hub abandon message URI. |
Methods inherited from java.lang.Object
Constructor Details
IotHubAbandonUri
protected IotHubAbandonUri()
IotHubAbandonUri
public IotHubAbandonUri(String iotHubHostname, String deviceId, String eTag, String moduleId)
Constructor. Returns a URI for a device to instruct an IoT Hub to mark a message as being abandoned. The URI does not include a protocol.
Parameters:
Method Details
getHostname
public String getHostname()
Returns the string representation of the IoT Hub hostname.
Returns:
getPath
public String getPath()
Returns the string representation of the IoT Hub path.
Returns:
toString
public String toString()
Returns the string representation of the IoT Hub abandon message URI.
Overrides:
IotHubAbandonUri.toString()Returns: