Class LinkedStorageAccountsProperties

java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.LinkedStorageAccountsProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<LinkedStorageAccountsProperties>

public final class LinkedStorageAccountsProperties extends Object implements com.azure.json.JsonSerializable<LinkedStorageAccountsProperties>
Linked storage accounts properties.
  • Constructor Details

    • LinkedStorageAccountsProperties

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

    • dataSourceType

      public DataSourceType dataSourceType()
      Get the dataSourceType property: Linked storage accounts type.
      Returns:
      the dataSourceType value.
    • storageAccountIds

      public List<String> storageAccountIds()
      Get the storageAccountIds property: Linked storage accounts resources ids.
      Returns:
      the storageAccountIds value.
    • withStorageAccountIds

      public LinkedStorageAccountsProperties withStorageAccountIds(List<String> storageAccountIds)
      Set the storageAccountIds property: Linked storage accounts resources ids.
      Parameters:
      storageAccountIds - the storageAccountIds value to set.
      Returns:
      the LinkedStorageAccountsProperties object itself.
    • toJson

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

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