FileUploadSasUriRequest Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.device.FileUploadSasUriRequest

public class FileUploadSasUriRequest

The request parameters when getting a file upload sas uri from IoT Hub.

Constructor Summary

Constructor Description
FileUploadSasUriRequest(String blobName)

Create an instance of the FileUploadSasUriRequest based on the provided blobName.

Method Summary

Modifier and Type Method and Description
String toJson()

Convert this class to json.

Constructor Details

FileUploadSasUriRequest

public FileUploadSasUriRequest(String blobName)

Create an instance of the FileUploadSasUriRequest based on the provided blobName.

Parameters:

blobName - is the name of the blob (file name in the blob) that IoT Hub will make Azure Storage create for this file upload. This field is mandatory

Method Details

toJson

public String toJson()

Convert this class to json.

Returns:

json that represents the content of this class.

Applies to