Class RunbookDraftInner

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

public final class RunbookDraftInner extends Object
The RunbookDraft model.
  • Constructor Details

    • RunbookDraftInner

      public RunbookDraftInner()
  • Method Details

    • inEdit

      public Boolean inEdit()
      Get the inEdit property: Gets or sets whether runbook is in edit mode.
      Returns:
      the inEdit value.
    • withInEdit

      public RunbookDraftInner withInEdit(Boolean inEdit)
      Set the inEdit property: Gets or sets whether runbook is in edit mode.
      Parameters:
      inEdit - the inEdit value to set.
      Returns:
      the RunbookDraftInner object itself.
    • draftContentLink

      public ContentLink draftContentLink()
      Get the draftContentLink property: Gets or sets the draft runbook content link.
      Returns:
      the draftContentLink value.
    • withDraftContentLink

      public RunbookDraftInner withDraftContentLink(ContentLink draftContentLink)
      Set the draftContentLink property: Gets or sets the draft runbook content link.
      Parameters:
      draftContentLink - the draftContentLink value to set.
      Returns:
      the RunbookDraftInner object itself.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: Gets or sets the creation time of the runbook draft.
      Returns:
      the creationTime value.
    • withCreationTime

      public RunbookDraftInner withCreationTime(OffsetDateTime creationTime)
      Set the creationTime property: Gets or sets the creation time of the runbook draft.
      Parameters:
      creationTime - the creationTime value to set.
      Returns:
      the RunbookDraftInner object itself.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Gets or sets the last modified time of the runbook draft.
      Returns:
      the lastModifiedTime value.
    • withLastModifiedTime

      public RunbookDraftInner withLastModifiedTime(OffsetDateTime lastModifiedTime)
      Set the lastModifiedTime property: Gets or sets the last modified time of the runbook draft.
      Parameters:
      lastModifiedTime - the lastModifiedTime value to set.
      Returns:
      the RunbookDraftInner object itself.
    • parameters

      public Map<String,RunbookParameter> parameters()
      Get the parameters property: Gets or sets the runbook draft parameters.
      Returns:
      the parameters value.
    • withParameters

      public RunbookDraftInner withParameters(Map<String,RunbookParameter> parameters)
      Set the parameters property: Gets or sets the runbook draft parameters.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the RunbookDraftInner object itself.
    • outputTypes

      public List<String> outputTypes()
      Get the outputTypes property: Gets or sets the runbook output types.
      Returns:
      the outputTypes value.
    • withOutputTypes

      public RunbookDraftInner withOutputTypes(List<String> outputTypes)
      Set the outputTypes property: Gets or sets the runbook output types.
      Parameters:
      outputTypes - the outputTypes value to set.
      Returns:
      the RunbookDraftInner object itself.
    • validate

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