Class ResourceWithEtag

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
Direct Known Subclasses:
ActionRequest, ActionResponseInner, AlertRuleInner, AutomationRuleInner, BookmarkInner, CustomEntityQuery, DataConnectorInner, EntityQueryInner, IncidentCommentInner, IncidentInner, MetadataModelInner, MetadataPatch, RelationInner, SecurityMLAnalyticsSettingInner, SentinelOnboardingStateInner, SettingsInner, SourceControlInner, ThreatIntelligenceInformationInner, WatchlistInner, WatchlistItemInner

public class ResourceWithEtag extends com.azure.core.management.ProxyResource
An azure resource object with an Etag property.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the etag property: Etag of the azure resource.
    com.azure.core.management.SystemData
    Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    void
    Validates the instance.
    Set the etag property: Etag of the azure resource.

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResourceWithEtag

      public ResourceWithEtag()
  • Method Details

    • etag

      public String etag()
      Get the etag property: Etag of the azure resource.
      Returns:
      the etag value.
    • withEtag

      public ResourceWithEtag withEtag(String etag)
      Set the etag property: Etag of the azure resource.
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag 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.
    • validate

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