Class ResourceWriteSuccessEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.ResourceWriteSuccessEventData
-
public final class ResourceWriteSuccessEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteSuccess event. This is raised when a resource create or update operation succeeds.
-
-
Constructor Summary
Constructors Constructor Description ResourceWriteSuccessEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAuthorization()
Deprecated.This method is no longer supported since v4.9.0.String
getClaims()
Deprecated.This method is no longer supported since v4.9.0.String
getCorrelationId()
Get the correlationId property: An operation ID used for troubleshooting.String
getHttpRequest()
Deprecated.This method is no longer supported since v4.9.0.String
getOperationName()
Get the operationName property: The operation that was performed.ResourceAuthorization
getResourceAuthorization()
Get the authorization property: The requested authorization for the operation.Map<String,String>
getResourceClaims()
Get the claims property: The properties of the claims.String
getResourceGroup()
Get the resourceGroup property: The resource group of the resource.ResourceHttpRequest
getResourceHttpRequest()
Get the httpRequest property: The details of the operation.String
getResourceProvider()
Get the resourceProvider property: The resource provider performing the operation.String
getResourceUri()
Get the resourceUri property: The URI of the resource in the operation.String
getStatus()
Get the status property: The status of the operation.String
getSubscriptionId()
Get the subscriptionId property: The subscription ID of the resource.String
getTenantId()
Get the tenantId property: The tenant ID of the resource.ResourceWriteSuccessEventData
setAuthorization(String authorization)
Deprecated.This method is no longer supported since v4.9.0.ResourceWriteSuccessEventData
setClaims(String claims)
Deprecated.This method is no longer supported since v4.9.0.ResourceWriteSuccessEventData
setCorrelationId(String correlationId)
Set the correlationId property: An operation ID used for troubleshooting.ResourceWriteSuccessEventData
setHttpRequest(String httpRequest)
Deprecated.This method is no longer supported since v4.9.0.ResourceWriteSuccessEventData
setOperationName(String operationName)
Set the operationName property: The operation that was performed.ResourceWriteSuccessEventData
setResourceAuthorization(ResourceAuthorization authorization)
Set the authorization property: The requested authorization for the operation.ResourceWriteSuccessEventData
setResourceClaims(Map<String,String> claims)
Set the claims property: The properties of the claims.ResourceWriteSuccessEventData
setResourceGroup(String resourceGroup)
Set the resourceGroup property: The resource group of the resource.ResourceWriteSuccessEventData
setResourceHttpRequest(ResourceHttpRequest httpRequest)
Set the httpRequest property: The details of the operation.ResourceWriteSuccessEventData
setResourceProvider(String resourceProvider)
Set the resourceProvider property: The resource provider performing the operation.ResourceWriteSuccessEventData
setResourceUri(String resourceUri)
Set the resourceUri property: The URI of the resource in the operation.ResourceWriteSuccessEventData
setStatus(String status)
Set the status property: The status of the operation.ResourceWriteSuccessEventData
setSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription ID of the resource.ResourceWriteSuccessEventData
setTenantId(String tenantId)
Set the tenantId property: The tenant ID of the resource.
-
-
-
Method Detail
-
getTenantId
public String getTenantId()
Get the tenantId property: The tenant ID of the resource.- Returns:
- the tenantId value.
-
setTenantId
public ResourceWriteSuccessEventData setTenantId(String tenantId)
Set the tenantId property: The tenant ID of the resource.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getSubscriptionId
public String getSubscriptionId()
Get the subscriptionId property: The subscription ID of the resource.- Returns:
- the subscriptionId value.
-
setSubscriptionId
public ResourceWriteSuccessEventData setSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription ID of the resource.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getResourceGroup
public String getResourceGroup()
Get the resourceGroup property: The resource group of the resource.- Returns:
- the resourceGroup value.
-
setResourceGroup
public ResourceWriteSuccessEventData setResourceGroup(String resourceGroup)
Set the resourceGroup property: The resource group of the resource.- Parameters:
resourceGroup
- the resourceGroup value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getResourceProvider
public String getResourceProvider()
Get the resourceProvider property: The resource provider performing the operation.- Returns:
- the resourceProvider value.
-
setResourceProvider
public ResourceWriteSuccessEventData setResourceProvider(String resourceProvider)
Set the resourceProvider property: The resource provider performing the operation.- Parameters:
resourceProvider
- the resourceProvider value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getResourceUri
public String getResourceUri()
Get the resourceUri property: The URI of the resource in the operation.- Returns:
- the resourceUri value.
-
setResourceUri
public ResourceWriteSuccessEventData setResourceUri(String resourceUri)
Set the resourceUri property: The URI of the resource in the operation.- Parameters:
resourceUri
- the resourceUri value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getOperationName
public String getOperationName()
Get the operationName property: The operation that was performed.- Returns:
- the operationName value.
-
setOperationName
public ResourceWriteSuccessEventData setOperationName(String operationName)
Set the operationName property: The operation that was performed.- Parameters:
operationName
- the operationName value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getStatus
public String getStatus()
Get the status property: The status of the operation.- Returns:
- the status value.
-
setStatus
public ResourceWriteSuccessEventData setStatus(String status)
Set the status property: The status of the operation.- Parameters:
status
- the status value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getAuthorization
@Deprecated public String getAuthorization()
Deprecated.This method is no longer supported since v4.9.0.Use
getResourceAuthorization()
instead.Get the authorization property: The requested authorization for the operation.- Returns:
- the authorization value.
-
setAuthorization
@Deprecated public ResourceWriteSuccessEventData setAuthorization(String authorization)
Deprecated.This method is no longer supported since v4.9.0.Use
setResourceAuthorization(ResourceAuthorization)
instead.Set the authorization property: The requested authorization for the operation.- Parameters:
authorization
- the authorization value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getResourceAuthorization
public ResourceAuthorization getResourceAuthorization()
Get the authorization property: The requested authorization for the operation.- Returns:
- the authorization value.
-
setResourceAuthorization
public ResourceWriteSuccessEventData setResourceAuthorization(ResourceAuthorization authorization)
Set the authorization property: The requested authorization for the operation.- Parameters:
authorization
- the authorization value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getClaims
@Deprecated public String getClaims()
Deprecated.This method is no longer supported since v4.9.0.Use
getResourceClaims()
instead.Get the claims property: The properties of the claims.- Returns:
- the claims value.
-
setClaims
@Deprecated public ResourceWriteSuccessEventData setClaims(String claims)
Deprecated.This method is no longer supported since v4.9.0.Use
setResourceClaims(Map)
instead.Set the claims property: The properties of the claims.- Parameters:
claims
- the claims value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getResourceClaims
public Map<String,String> getResourceClaims()
Get the claims property: The properties of the claims.- Returns:
- the claims value.
-
setResourceClaims
public ResourceWriteSuccessEventData setResourceClaims(Map<String,String> claims)
Set the claims property: The properties of the claims.- Parameters:
claims
- the claims value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getCorrelationId
public String getCorrelationId()
Get the correlationId property: An operation ID used for troubleshooting.- Returns:
- the correlationId value.
-
setCorrelationId
public ResourceWriteSuccessEventData setCorrelationId(String correlationId)
Set the correlationId property: An operation ID used for troubleshooting.- Parameters:
correlationId
- the correlationId value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getHttpRequest
@Deprecated public String getHttpRequest()
Deprecated.This method is no longer supported since v4.9.0.Use
getResourceHttpRequest()
instead.Get the httpRequest property: The details of the operation.- Returns:
- the httpRequest value.
-
setHttpRequest
@Deprecated public ResourceWriteSuccessEventData setHttpRequest(String httpRequest)
Deprecated.This method is no longer supported since v4.9.0.Use
setResourceHttpRequest(ResourceHttpRequest)
instead.Set the httpRequest property: The details of the operation.- Parameters:
httpRequest
- the httpRequest value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
getResourceHttpRequest
public ResourceHttpRequest getResourceHttpRequest()
Get the httpRequest property: The details of the operation.- Returns:
- the httpRequest value.
-
setResourceHttpRequest
public ResourceWriteSuccessEventData setResourceHttpRequest(ResourceHttpRequest httpRequest)
Set the httpRequest property: The details of the operation.- Parameters:
httpRequest
- the httpRequest value to set.- Returns:
- the ResourceWriteSuccessEventData object itself.
-
-