Class StorageLifecyclePolicyActionSummaryDetail
java.lang.Object
com.azure.messaging.eventgrid.systemevents.StorageLifecyclePolicyActionSummaryDetail
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StorageLifecyclePolicyActionSummaryDetail>
public final class StorageLifecyclePolicyActionSummaryDetail
extends Object
implements com.azure.json.JsonSerializable<StorageLifecyclePolicyActionSummaryDetail>
Execution statistics of a specific policy action in a Blob Management cycle.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StorageLifecyclePolicyActionSummaryDetail from the JsonReader.Get the errorList property: Error messages of this action if any.Get the successCount property: Number of success operations of this action.Get the totalObjectsCount property: Total number of objects to be acted on by this action.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getTotalObjectsCount
Get the totalObjectsCount property: Total number of objects to be acted on by this action.- Returns:
- the totalObjectsCount value.
-
getSuccessCount
Get the successCount property: Number of success operations of this action.- Returns:
- the successCount value.
-
getErrorList
Get the errorList property: Error messages of this action if any.- Returns:
- the errorList value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<StorageLifecyclePolicyActionSummaryDetail>- Throws:
IOException
-
fromJson
public static StorageLifecyclePolicyActionSummaryDetail fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StorageLifecyclePolicyActionSummaryDetail from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of StorageLifecyclePolicyActionSummaryDetail if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the StorageLifecyclePolicyActionSummaryDetail.
-