Class UpdateResource

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.UpdateResource
Direct Known Subclasses:
ApplicableScheduleFragment, ArtifactSourceFragment, CustomImageFragment, DiskFragment, DtlEnvironmentFragment, FormulaFragment, LabFragment, LabVirtualMachineFragment, NotificationChannelFragment, PolicyFragment, ScheduleFragment, SecretFragment, ServiceFabricFragment, UserFragment, VirtualNetworkFragment

public class UpdateResource extends Object
Represents an update resource.
  • Constructor Details

    • UpdateResource

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

    • tags

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

      public UpdateResource withTags(Map<String,String> tags)
      Set the tags property: The tags of the resource.
      Parameters:
      tags - the tags value to set.
      Returns:
      the UpdateResource object itself.
    • validate

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