java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.deviceregistry.fluent.models.AssetInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class AssetInner extends com.azure.core.management.Resource
Asset definition.
  • Constructor Details

    • AssetInner

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

    • properties

      public AssetProperties properties()
      Get the properties property: The resource-specific properties for this resource.
      Returns:
      the properties value.
    • withProperties

      public AssetInner withProperties(AssetProperties properties)
      Set the properties property: The resource-specific properties for this resource.
      Parameters:
      properties - the properties value to set.
      Returns:
      the AssetInner object itself.
    • extendedLocation

      public ExtendedLocation extendedLocation()
      Get the extendedLocation property: The extended location.
      Returns:
      the extendedLocation value.
    • withExtendedLocation

      public AssetInner withExtendedLocation(ExtendedLocation extendedLocation)
      Set the extendedLocation property: The extended location.
      Parameters:
      extendedLocation - the extendedLocation value to set.
      Returns:
      the AssetInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • withLocation

      public AssetInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public AssetInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

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