Class StorageBlobInventoryPolicyCompletedEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.StorageBlobInventoryPolicyCompletedEventData
-
public final class StorageBlobInventoryPolicyCompletedEventData extends Object
Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobInventoryPolicyCompleted event.
-
-
Constructor Summary
Constructors Constructor Description StorageBlobInventoryPolicyCompletedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccountName()
Get the accountName property: The account name for which inventory policy is registered.String
getManifestBlobUrl()
Get the manifestBlobUrl property: The blob URL for manifest file for inventory run.String
getPolicyRunId()
Get the policyRunId property: The policy run id for inventory run.String
getPolicyRunStatus()
Get the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.String
getPolicyRunStatusMessage()
Get the policyRunStatusMessage property: The status message for inventory run.String
getRuleName()
Get the ruleName property: The rule name for inventory policy.OffsetDateTime
getScheduleDateTime()
Get the scheduleDateTime property: The time at which inventory policy was scheduled.StorageBlobInventoryPolicyCompletedEventData
setAccountName(String accountName)
Set the accountName property: The account name for which inventory policy is registered.StorageBlobInventoryPolicyCompletedEventData
setManifestBlobUrl(String manifestBlobUrl)
Set the manifestBlobUrl property: The blob URL for manifest file for inventory run.StorageBlobInventoryPolicyCompletedEventData
setPolicyRunId(String policyRunId)
Set the policyRunId property: The policy run id for inventory run.StorageBlobInventoryPolicyCompletedEventData
setPolicyRunStatus(String policyRunStatus)
Set the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.StorageBlobInventoryPolicyCompletedEventData
setPolicyRunStatusMessage(String policyRunStatusMessage)
Set the policyRunStatusMessage property: The status message for inventory run.StorageBlobInventoryPolicyCompletedEventData
setRuleName(String ruleName)
Set the ruleName property: The rule name for inventory policy.StorageBlobInventoryPolicyCompletedEventData
setScheduleDateTime(OffsetDateTime scheduleDateTime)
Set the scheduleDateTime property: The time at which inventory policy was scheduled.
-
-
-
Method Detail
-
getScheduleDateTime
public OffsetDateTime getScheduleDateTime()
Get the scheduleDateTime property: The time at which inventory policy was scheduled.- Returns:
- the scheduleDateTime value.
-
setScheduleDateTime
public StorageBlobInventoryPolicyCompletedEventData setScheduleDateTime(OffsetDateTime scheduleDateTime)
Set the scheduleDateTime property: The time at which inventory policy was scheduled.- Parameters:
scheduleDateTime
- the scheduleDateTime value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
getAccountName
public String getAccountName()
Get the accountName property: The account name for which inventory policy is registered.- Returns:
- the accountName value.
-
setAccountName
public StorageBlobInventoryPolicyCompletedEventData setAccountName(String accountName)
Set the accountName property: The account name for which inventory policy is registered.- Parameters:
accountName
- the accountName value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
getRuleName
public String getRuleName()
Get the ruleName property: The rule name for inventory policy.- Returns:
- the ruleName value.
-
setRuleName
public StorageBlobInventoryPolicyCompletedEventData setRuleName(String ruleName)
Set the ruleName property: The rule name for inventory policy.- Parameters:
ruleName
- the ruleName value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
getPolicyRunStatus
public String getPolicyRunStatus()
Get the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.- Returns:
- the policyRunStatus value.
-
setPolicyRunStatus
public StorageBlobInventoryPolicyCompletedEventData setPolicyRunStatus(String policyRunStatus)
Set the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.- Parameters:
policyRunStatus
- the policyRunStatus value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
getPolicyRunStatusMessage
public String getPolicyRunStatusMessage()
Get the policyRunStatusMessage property: The status message for inventory run.- Returns:
- the policyRunStatusMessage value.
-
setPolicyRunStatusMessage
public StorageBlobInventoryPolicyCompletedEventData setPolicyRunStatusMessage(String policyRunStatusMessage)
Set the policyRunStatusMessage property: The status message for inventory run.- Parameters:
policyRunStatusMessage
- the policyRunStatusMessage value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
getPolicyRunId
public String getPolicyRunId()
Get the policyRunId property: The policy run id for inventory run.- Returns:
- the policyRunId value.
-
setPolicyRunId
public StorageBlobInventoryPolicyCompletedEventData setPolicyRunId(String policyRunId)
Set the policyRunId property: The policy run id for inventory run.- Parameters:
policyRunId
- the policyRunId value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
getManifestBlobUrl
public String getManifestBlobUrl()
Get the manifestBlobUrl property: The blob URL for manifest file for inventory run.- Returns:
- the manifestBlobUrl value.
-
setManifestBlobUrl
public StorageBlobInventoryPolicyCompletedEventData setManifestBlobUrl(String manifestBlobUrl)
Set the manifestBlobUrl property: The blob URL for manifest file for inventory run.- Parameters:
manifestBlobUrl
- the manifestBlobUrl value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
-