Class RetryHistory

java.lang.Object
com.azure.resourcemanager.appservice.models.RetryHistory
All Implemented Interfaces:
com.azure.json.JsonSerializable<RetryHistory>

public final class RetryHistory extends Object implements com.azure.json.JsonSerializable<RetryHistory>
The retry history.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the clientRequestId property: Gets the client request Id.
    Get the code property: Gets the status code.
    Get the endTime property: Gets the end time.
    com.azure.core.management.exception.ManagementError
    Get the error property: Gets the error response.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of RetryHistory from the JsonReader.
    Get the serviceRequestId property: Gets the service request Id.
    Get the startTime property: Gets the start time.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: Gets the start time.
      Returns:
      the startTime value.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: Gets the end time.
      Returns:
      the endTime value.
    • code

      public String code()
      Get the code property: Gets the status code.
      Returns:
      the code value.
    • clientRequestId

      public String clientRequestId()
      Get the clientRequestId property: Gets the client request Id.
      Returns:
      the clientRequestId value.
    • serviceRequestId

      public String serviceRequestId()
      Get the serviceRequestId property: Gets the service request Id.
      Returns:
      the serviceRequestId value.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: Gets the error response.
      Returns:
      the error value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<RetryHistory>
      Throws:
      IOException
    • fromJson

      public static RetryHistory fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RetryHistory from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RetryHistory 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 RetryHistory.