Class StorageTargetResource

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.storagecache.models.StorageTargetResource
Direct Known Subclasses:
StorageTargetInner

public class StorageTargetResource extends com.azure.core.management.ProxyResource
Resource used by a cache.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    Get the location property: Region name string.
    com.azure.core.management.SystemData
    Get the systemData property: The system meta data relating to this resource.
    void
    Validates the instance.

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StorageTargetResource

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

    • location

      public String location()
      Get the location property: Region name string.
      Returns:
      the location value.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system meta data relating to this resource.
      Returns:
      the systemData value.
    • validate

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