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
-
Method Summary
Modifier and TypeMethodDescriptionetag()
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
validate()
Validates the instance.Set the etag property: Etag of the azure resource.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ResourceWithEtag
public ResourceWithEtag()
-
-
Method Details
-
etag
Get the etag property: Etag of the azure resource.- Returns:
- the etag value.
-
withEtag
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.
-