FileUploadSasUriResponse Class    
	- java.lang. Object 
- com.microsoft. azure. sdk. iot. deps. serializer. FileUploadSasUriResponse 
 
- com.
public class FileUploadSasUriResponse
The information provided from IoT Hub that can be used with the Azure Storage SDK to upload a file from your device, including authentication.
Constructor Summary
| Constructor | Description | 
|---|---|
| FileUploadSasUriResponse(String json) | Create an instance of the File | 
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getBlobName() Getter for the blob name (aka file name) in Azure storage that this file upload SAS URI allows uploading to. | 
| java.net.URI | getBlobUri() Get the full Azure Storage blob uri to upload a file to. | 
| java.lang.String | getContainerName() Getter for the container name in Azure storage that this file upload SAS URI allows uploading to. | 
| java.lang.String | getCorrelationId() Getter for the Azure storage correlation identification. | 
| java.lang.String | getHostName() Getter for the Azure storage host name that this file upload SAS URI allows uploading to. | 
| java.lang.String | getSasToken() Getter for the file sas | 
Methods inherited from java.lang.Object
Constructor Details
FileUploadSasUriResponse
public FileUploadSasUriResponse(String json)
Create an instance of the FileUploadSasUriResponse using the information in the provided json.
Parameters:
Throws:
Method Details
getBlobName
public String getBlobName()
Getter for the blob name (aka file name) in Azure storage that this file upload SAS URI allows uploading to.
Returns:
getBlobUri
public URI getBlobUri()
Get the full Azure Storage blob uri to upload a file to. This uri includes authentication information
Returns:
Throws:
getContainerName
public String getContainerName()
Getter for the container name in Azure storage that this file upload SAS URI allows uploading to.
Returns:
getCorrelationId
public String getCorrelationId()
Getter for the Azure storage correlation identification. This correlation id should be used when notifying IoT Hub that this file upload has completed.
Returns:
getHostName
public String getHostName()
Getter for the Azure storage host name that this file upload SAS URI allows uploading to.
Returns:
getSasToken
public String getSasToken()
Getter for the file sasToken for authenticating with Azure storage while uploading.
Returns: