Class StorageAccount

java.lang.Object
com.azure.resourcemanager.loganalytics.models.StorageAccount

public final class StorageAccount extends Object
Describes a storage account connection.
  • Constructor Details

    • StorageAccount

      public StorageAccount()
  • Method Details

    • id

      public String id()
      Get the id property: The Azure Resource Manager ID of the storage account resource.
      Returns:
      the id value.
    • withId

      public StorageAccount withId(String id)
      Set the id property: The Azure Resource Manager ID of the storage account resource.
      Parameters:
      id - the id value to set.
      Returns:
      the StorageAccount object itself.
    • key

      public String key()
      Get the key property: The storage account key.
      Returns:
      the key value.
    • withKey

      public StorageAccount withKey(String key)
      Set the key property: The storage account key.
      Parameters:
      key - the key value to set.
      Returns:
      the StorageAccount object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.