Class MachineUpdate

java.lang.Object
com.azure.resourcemanager.hybridcompute.models.ResourceUpdate
com.azure.resourcemanager.hybridcompute.models.MachineUpdate

public final class MachineUpdate extends ResourceUpdate
Describes a hybrid machine Update.
  • Constructor Details

    • MachineUpdate

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

    • identity

      public Identity identity()
      Get the identity property: Identity for the resource.
      Returns:
      the identity value.
    • withIdentity

      public MachineUpdate withIdentity(Identity identity)
      Set the identity property: Identity for the resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the MachineUpdate object itself.
    • properties

      public MachineUpdateProperties properties()
      Get the properties property: Hybrid Compute Machine properties.
      Returns:
      the properties value.
    • withProperties

      public MachineUpdate withProperties(MachineUpdateProperties properties)
      Set the properties property: Hybrid Compute Machine properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the MachineUpdate object itself.
    • withTags

      public MachineUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Overrides:
      withTags in class ResourceUpdate
      Parameters:
      tags - the tags value to set.
      Returns:
      the ResourceUpdate object itself.
    • validate

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