Class RunbookDraftUndoEditResultInner

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.RunbookDraftUndoEditResultInner

public final class RunbookDraftUndoEditResultInner extends Object
The response model for the undo edit runbook operation.
  • Constructor Details

    • RunbookDraftUndoEditResultInner

      public RunbookDraftUndoEditResultInner()
  • Method Details

    • statusCode

      public HttpStatusCode statusCode()
      Get the statusCode property: The statusCode property.
      Returns:
      the statusCode value.
    • withStatusCode

      public RunbookDraftUndoEditResultInner withStatusCode(HttpStatusCode statusCode)
      Set the statusCode property: The statusCode property.
      Parameters:
      statusCode - the statusCode value to set.
      Returns:
      the RunbookDraftUndoEditResultInner object itself.
    • requestId

      public String requestId()
      Get the requestId property: The requestId property.
      Returns:
      the requestId value.
    • withRequestId

      public RunbookDraftUndoEditResultInner withRequestId(String requestId)
      Set the requestId property: The requestId property.
      Parameters:
      requestId - the requestId value to set.
      Returns:
      the RunbookDraftUndoEditResultInner object itself.
    • validate

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