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 Details

    • getTotalObjectsCount

      public Long getTotalObjectsCount()
      Get the totalObjectsCount property: Total number of objects to be acted on by this action.
      Returns:
      the totalObjectsCount value.
    • getSuccessCount

      public Long getSuccessCount()
      Get the successCount property: Number of success operations of this action.
      Returns:
      the successCount value.
    • getErrorList

      public String getErrorList()
      Get the errorList property: Error messages of this action if any.
      Returns:
      the errorList value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.