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:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기