Class StorageBlobInventoryPolicyCompletedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.StorageBlobInventoryPolicyCompletedEventData
Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobInventoryPolicyCompleted event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accountName property: The account name for which inventory policy is registered.Get the manifestBlobUrl property: The blob URL for manifest file for inventory run.Get the policyRunId property: The policy run id for inventory run.Get the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.Get the policyRunStatusMessage property: The status message for inventory run.Get the ruleName property: The rule name for inventory policy.Get the scheduleDateTime property: The time at which inventory policy was scheduled.setAccountName
(String accountName) Set the accountName property: The account name for which inventory policy is registered.setManifestBlobUrl
(String manifestBlobUrl) Set the manifestBlobUrl property: The blob URL for manifest file for inventory run.setPolicyRunId
(String policyRunId) Set the policyRunId property: The policy run id for inventory run.setPolicyRunStatus
(String policyRunStatus) Set the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.setPolicyRunStatusMessage
(String policyRunStatusMessage) Set the policyRunStatusMessage property: The status message for inventory run.setRuleName
(String ruleName) Set the ruleName property: The rule name for inventory policy.setScheduleDateTime
(OffsetDateTime scheduleDateTime) Set the scheduleDateTime property: The time at which inventory policy was scheduled.
-
Constructor Details
-
StorageBlobInventoryPolicyCompletedEventData
public StorageBlobInventoryPolicyCompletedEventData()
-
-
Method Details
-
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
Get the accountName property: The account name for which inventory policy is registered.- Returns:
- the accountName value.
-
setAccountName
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
Get the ruleName property: The rule name for inventory policy.- Returns:
- the ruleName value.
-
setRuleName
Set the ruleName property: The rule name for inventory policy.- Parameters:
ruleName
- the ruleName value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
getPolicyRunStatus
Get the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.- Returns:
- the policyRunStatus value.
-
setPolicyRunStatus
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
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
Get the policyRunId property: The policy run id for inventory run.- Returns:
- the policyRunId value.
-
setPolicyRunId
Set the policyRunId property: The policy run id for inventory run.- Parameters:
policyRunId
- the policyRunId value to set.- Returns:
- the StorageBlobInventoryPolicyCompletedEventData object itself.
-
getManifestBlobUrl
Get the manifestBlobUrl property: The blob URL for manifest file for inventory run.- Returns:
- the manifestBlobUrl value.
-
setManifestBlobUrl
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.
-