Class UpdateMonitorRequest

java.lang.Object
com.azure.resourcemanager.workloads.models.UpdateMonitorRequest

public final class UpdateMonitorRequest extends Object
Defines the request body for updating SAP monitor resource.
  • Constructor Details

    • UpdateMonitorRequest

      public UpdateMonitorRequest()
  • Method Details

    • tags

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

      public UpdateMonitorRequest withTags(Map<String,String> tags)
      Set the tags property: Gets or sets the Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the UpdateMonitorRequest object itself.
    • identity

      public UserAssignedServiceIdentity identity()
      Get the identity property: Managed service identity (user assigned identities).
      Returns:
      the identity value.
    • withIdentity

      public UpdateMonitorRequest withIdentity(UserAssignedServiceIdentity identity)
      Set the identity property: Managed service identity (user assigned identities).
      Parameters:
      identity - the identity value to set.
      Returns:
      the UpdateMonitorRequest object itself.
    • validate

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