Class BlobStorageTokenStore

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

public final class BlobStorageTokenStore extends Object implements com.azure.json.JsonSerializable<BlobStorageTokenStore>
The configuration settings of the storage of the tokens if blob storage is used.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of BlobStorageTokenStore from the JsonReader.
    Get the sasUrlSettingName property: The name of the app setting containing the SAS URL of the blob storage containing the tokens.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.
    withSasUrlSettingName(String sasUrlSettingName)
    Set the sasUrlSettingName property: The name of the app setting containing the SAS URL of the blob storage containing the tokens.

    Methods inherited from class java.lang.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

    • BlobStorageTokenStore

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

    • sasUrlSettingName

      public String sasUrlSettingName()
      Get the sasUrlSettingName property: The name of the app setting containing the SAS URL of the blob storage containing the tokens.
      Returns:
      the sasUrlSettingName value.
    • withSasUrlSettingName

      public BlobStorageTokenStore withSasUrlSettingName(String sasUrlSettingName)
      Set the sasUrlSettingName property: The name of the app setting containing the SAS URL of the blob storage containing the tokens.
      Parameters:
      sasUrlSettingName - the sasUrlSettingName value to set.
      Returns:
      the BlobStorageTokenStore object itself.
    • 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<BlobStorageTokenStore>
      Throws:
      IOException
    • fromJson

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