Class StorageAccountMicrosoftEndpoints

java.lang.Object
com.azure.resourcemanager.storage.models.StorageAccountMicrosoftEndpoints
All Implemented Interfaces:
com.azure.json.JsonSerializable<StorageAccountMicrosoftEndpoints>

public final class StorageAccountMicrosoftEndpoints extends Object implements com.azure.json.JsonSerializable<StorageAccountMicrosoftEndpoints>
The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of StorageAccountMicrosoftEndpoints class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the blob property: Gets the blob endpoint.
    dfs()
    Get the dfs property: Gets the dfs endpoint.
    Get the file property: Gets the file endpoint.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of StorageAccountMicrosoftEndpoints from the JsonReader.
    Get the queue property: Gets the queue endpoint.
    Get the table property: Gets the table endpoint.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.
    web()
    Get the web property: Gets the web endpoint.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • StorageAccountMicrosoftEndpoints

      public StorageAccountMicrosoftEndpoints()
      Creates an instance of StorageAccountMicrosoftEndpoints class.
  • Method Details

    • blob

      public String blob()
      Get the blob property: Gets the blob endpoint.
      Returns:
      the blob value.
    • queue

      public String queue()
      Get the queue property: Gets the queue endpoint.
      Returns:
      the queue value.
    • table

      public String table()
      Get the table property: Gets the table endpoint.
      Returns:
      the table value.
    • file

      public String file()
      Get the file property: Gets the file endpoint.
      Returns:
      the file value.
    • web

      public String web()
      Get the web property: Gets the web endpoint.
      Returns:
      the web value.
    • dfs

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<StorageAccountMicrosoftEndpoints>
      Throws:
      IOException
    • fromJson

      public static StorageAccountMicrosoftEndpoints fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of StorageAccountMicrosoftEndpoints from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of StorageAccountMicrosoftEndpoints 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 StorageAccountMicrosoftEndpoints.