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
,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 ResourceWithEtag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Etag of the azure resource.com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.ResourceWithEtag
withEtag(String etag)
Set the etag property: Etag of the azure resource.
-
-
-
Method Detail
-
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.
-
-