public class FileUploadSasUriResponse extends Object
| Constructor and Description |
|---|
FileUploadSasUriResponse(String json)
Create an instance of the FileUploadSasUriResponse using the information in the provided json.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBlobName()
Getter for the blob name (aka file name) in Azure storage that this file upload SAS URI allows uploading to.
|
URI |
getBlobUri()
Get the full Azure Storage blob uri to upload a file to.
|
String |
getContainerName()
Getter for the container name in Azure storage that this file upload SAS URI allows uploading to.
|
String |
getCorrelationId()
Getter for the Azure storage correlation identification.
|
String |
getHostName()
Getter for the Azure storage host name that this file upload SAS URI allows uploading to.
|
String |
getSasToken()
Getter for the file sasToken for authenticating with Azure storage while uploading.
|
public FileUploadSasUriResponse(String json) throws IllegalArgumentException
json - is the string that contains a valid json with the FileUpload response.IllegalArgumentException - if the json is null, empty, or not valid.public String getCorrelationId()
public String getHostName()
public String getContainerName()
public String getBlobName()
public String getSasToken()
public URI getBlobUri() throws UnsupportedEncodingException, URISyntaxException
UnsupportedEncodingException - if UTF-8 encoding is not supported on this device.URISyntaxException - if building the URI fails for any reason.Copyright © 2021. All rights reserved.