java.lang.Object
com.azure.resourcemanager.deviceregistry.models.AssetUpdate

public final class AssetUpdate extends Object
The type used for update operations of the Asset.
  • Constructor Details

    • AssetUpdate

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

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public AssetUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the AssetUpdate object itself.
    • properties

      public AssetUpdateProperties properties()
      Get the properties property: The properties property.
      Returns:
      the properties value.
    • withProperties

      public AssetUpdate withProperties(AssetUpdateProperties properties)
      Set the properties property: The properties property.
      Parameters:
      properties - the properties value to set.
      Returns:
      the AssetUpdate object itself.
    • validate

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