Class RetryHistory

java.lang.Object
com.azure.resourcemanager.appservice.models.RetryHistory

public final class RetryHistory extends Object
The retry history.
  • Constructor Details

    • RetryHistory

      public RetryHistory()
  • Method Details

    • startTime

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

      public RetryHistory withStartTime(OffsetDateTime startTime)
      Set the startTime property: Gets the start time.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the RetryHistory object itself.
    • endTime

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

      public RetryHistory withEndTime(OffsetDateTime endTime)
      Set the endTime property: Gets the end time.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the RetryHistory object itself.
    • code

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

      public RetryHistory withCode(String code)
      Set the code property: Gets the status code.
      Parameters:
      code - the code value to set.
      Returns:
      the RetryHistory object itself.
    • clientRequestId

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

      public RetryHistory withClientRequestId(String clientRequestId)
      Set the clientRequestId property: Gets the client request Id.
      Parameters:
      clientRequestId - the clientRequestId value to set.
      Returns:
      the RetryHistory object itself.
    • serviceRequestId

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

      public RetryHistory withServiceRequestId(String serviceRequestId)
      Set the serviceRequestId property: Gets the service request Id.
      Parameters:
      serviceRequestId - the serviceRequestId value to set.
      Returns:
      the RetryHistory object itself.
    • error

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

      public RetryHistory withError(com.azure.core.management.exception.ManagementError error)
      Set the error property: Gets the error response.
      Parameters:
      error - the error value to set.
      Returns:
      the RetryHistory object itself.
    • validate

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