Class StorageAccountInternetEndpoints
java.lang.Object
com.azure.resourcemanager.storage.models.StorageAccountInternetEndpoints
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StorageAccountInternetEndpoints>
public final class StorageAccountInternetEndpoints
extends Object
implements com.azure.json.JsonSerializable<StorageAccountInternetEndpoints>
The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing
endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StorageAccountInternetEndpoints class. -
Method Summary
Modifier and TypeMethodDescriptionblob()Get the blob property: Gets the blob endpoint.dfs()Get the dfs property: Gets the dfs endpoint.file()Get the file property: Gets the file endpoint.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StorageAccountInternetEndpoints from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.web()Get the web property: Gets the web endpoint.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
StorageAccountInternetEndpoints
public StorageAccountInternetEndpoints()Creates an instance of StorageAccountInternetEndpoints class.
-
-
Method Details
-
blob
Get the blob property: Gets the blob endpoint.- Returns:
- the blob value.
-
file
Get the file property: Gets the file endpoint.- Returns:
- the file value.
-
web
Get the web property: Gets the web endpoint.- Returns:
- the web value.
-
dfs
Get the dfs property: Gets the dfs endpoint.- Returns:
- the dfs value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<StorageAccountInternetEndpoints>- Throws:
IOException
-
fromJson
public static StorageAccountInternetEndpoints fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StorageAccountInternetEndpoints from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of StorageAccountInternetEndpoints if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the StorageAccountInternetEndpoints.
-