Class ResourceWriteSuccessData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.ResourceWriteSuccessData
-
public class ResourceWriteSuccessData 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 ResourceWriteSuccessData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringauthorization()Get the requested authorization for the operation.Stringclaims()Get the properties of the claims.StringcorrelationId()Get an operation ID used for troubleshooting.StringhttpRequest()Get the details of the operation.StringoperationName()Get the operation that was performed.StringresourceGroup()Get the resource group of the resource.StringresourceProvider()Get the resource provider performing the operation.StringresourceUri()Get the URI of the resource in the operation.Stringstatus()Get the status of the operation.StringsubscriptionId()Get the subscription ID of the resource.StringtenantId()Get the tenant ID of the resource.ResourceWriteSuccessDatawithAuthorization(String authorization)Set the requested authorization for the operation.ResourceWriteSuccessDatawithClaims(String claims)Set the properties of the claims.ResourceWriteSuccessDatawithCorrelationId(String correlationId)Set an operation ID used for troubleshooting.ResourceWriteSuccessDatawithHttpRequest(String httpRequest)Set the details of the operation.ResourceWriteSuccessDatawithOperationName(String operationName)Set the operation that was performed.ResourceWriteSuccessDatawithResourceGroup(String resourceGroup)Set the resource group of the resource.ResourceWriteSuccessDatawithResourceProvider(String resourceProvider)Set the resource provider performing the operation.ResourceWriteSuccessDatawithResourceUri(String resourceUri)Set the URI of the resource in the operation.ResourceWriteSuccessDatawithStatus(String status)Set the status of the operation.ResourceWriteSuccessDatawithSubscriptionId(String subscriptionId)Set the subscription ID of the resource.ResourceWriteSuccessDatawithTenantId(String tenantId)Set the tenant ID of the resource.
-
-
-
Method Detail
-
tenantId
public String tenantId()
Get the tenant ID of the resource.- Returns:
- the tenantId value
-
withTenantId
public ResourceWriteSuccessData withTenantId(String tenantId)
Set the tenant ID of the resource.- Parameters:
tenantId- the tenantId value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
subscriptionId
public String subscriptionId()
Get the subscription ID of the resource.- Returns:
- the subscriptionId value
-
withSubscriptionId
public ResourceWriteSuccessData withSubscriptionId(String subscriptionId)
Set the subscription ID of the resource.- Parameters:
subscriptionId- the subscriptionId value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
resourceGroup
public String resourceGroup()
Get the resource group of the resource.- Returns:
- the resourceGroup value
-
withResourceGroup
public ResourceWriteSuccessData withResourceGroup(String resourceGroup)
Set the resource group of the resource.- Parameters:
resourceGroup- the resourceGroup value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
resourceProvider
public String resourceProvider()
Get the resource provider performing the operation.- Returns:
- the resourceProvider value
-
withResourceProvider
public ResourceWriteSuccessData withResourceProvider(String resourceProvider)
Set the resource provider performing the operation.- Parameters:
resourceProvider- the resourceProvider value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
resourceUri
public String resourceUri()
Get the URI of the resource in the operation.- Returns:
- the resourceUri value
-
withResourceUri
public ResourceWriteSuccessData withResourceUri(String resourceUri)
Set the URI of the resource in the operation.- Parameters:
resourceUri- the resourceUri value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
operationName
public String operationName()
Get the operation that was performed.- Returns:
- the operationName value
-
withOperationName
public ResourceWriteSuccessData withOperationName(String operationName)
Set the operation that was performed.- Parameters:
operationName- the operationName value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
status
public String status()
Get the status of the operation.- Returns:
- the status value
-
withStatus
public ResourceWriteSuccessData withStatus(String status)
Set the status of the operation.- Parameters:
status- the status value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
authorization
public String authorization()
Get the requested authorization for the operation.- Returns:
- the authorization value
-
withAuthorization
public ResourceWriteSuccessData withAuthorization(String authorization)
Set the requested authorization for the operation.- Parameters:
authorization- the authorization value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
claims
public String claims()
Get the properties of the claims.- Returns:
- the claims value
-
withClaims
public ResourceWriteSuccessData withClaims(String claims)
Set the properties of the claims.- Parameters:
claims- the claims value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
correlationId
public String correlationId()
Get an operation ID used for troubleshooting.- Returns:
- the correlationId value
-
withCorrelationId
public ResourceWriteSuccessData withCorrelationId(String correlationId)
Set an operation ID used for troubleshooting.- Parameters:
correlationId- the correlationId value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
httpRequest
public String httpRequest()
Get the details of the operation.- Returns:
- the httpRequest value
-
withHttpRequest
public ResourceWriteSuccessData withHttpRequest(String httpRequest)
Set the details of the operation.- Parameters:
httpRequest- the httpRequest value to set- Returns:
- the ResourceWriteSuccessData object itself.
-
-