java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.automation.fluent.models.RunbookInner

public final class RunbookInner extends com.azure.core.management.Resource
Definition of the runbook type.
  • Constructor Details

    • RunbookInner

      public RunbookInner()
  • Method Details

    • etag

      public String etag()
      Get the etag property: Gets or sets the etag of the resource.
      Returns:
      the etag value.
    • withEtag

      public RunbookInner withEtag(String etag)
      Set the etag property: Gets or sets the etag of the resource.
      Parameters:
      etag - the etag value to set.
      Returns:
      the RunbookInner object itself.
    • withLocation

      public RunbookInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public RunbookInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • runbookType

      public RunbookTypeEnum runbookType()
      Get the runbookType property: Gets or sets the type of the runbook.
      Returns:
      the runbookType value.
    • withRunbookType

      public RunbookInner withRunbookType(RunbookTypeEnum runbookType)
      Set the runbookType property: Gets or sets the type of the runbook.
      Parameters:
      runbookType - the runbookType value to set.
      Returns:
      the RunbookInner object itself.
    • publishContentLink

      public ContentLink publishContentLink()
      Get the publishContentLink property: Gets or sets the published runbook content link.
      Returns:
      the publishContentLink value.
    • withPublishContentLink

      public RunbookInner withPublishContentLink(ContentLink publishContentLink)
      Set the publishContentLink property: Gets or sets the published runbook content link.
      Parameters:
      publishContentLink - the publishContentLink value to set.
      Returns:
      the RunbookInner object itself.
    • state

      public RunbookState state()
      Get the state property: Gets or sets the state of the runbook.
      Returns:
      the state value.
    • withState

      public RunbookInner withState(RunbookState state)
      Set the state property: Gets or sets the state of the runbook.
      Parameters:
      state - the state value to set.
      Returns:
      the RunbookInner object itself.
    • logVerbose

      public Boolean logVerbose()
      Get the logVerbose property: Gets or sets verbose log option.
      Returns:
      the logVerbose value.
    • withLogVerbose

      public RunbookInner withLogVerbose(Boolean logVerbose)
      Set the logVerbose property: Gets or sets verbose log option.
      Parameters:
      logVerbose - the logVerbose value to set.
      Returns:
      the RunbookInner object itself.
    • logProgress

      public Boolean logProgress()
      Get the logProgress property: Gets or sets progress log option.
      Returns:
      the logProgress value.
    • withLogProgress

      public RunbookInner withLogProgress(Boolean logProgress)
      Set the logProgress property: Gets or sets progress log option.
      Parameters:
      logProgress - the logProgress value to set.
      Returns:
      the RunbookInner object itself.
    • logActivityTrace

      public Integer logActivityTrace()
      Get the logActivityTrace property: Gets or sets the option to log activity trace of the runbook.
      Returns:
      the logActivityTrace value.
    • withLogActivityTrace

      public RunbookInner withLogActivityTrace(Integer logActivityTrace)
      Set the logActivityTrace property: Gets or sets the option to log activity trace of the runbook.
      Parameters:
      logActivityTrace - the logActivityTrace value to set.
      Returns:
      the RunbookInner object itself.
    • jobCount

      public Integer jobCount()
      Get the jobCount property: Gets or sets the job count of the runbook.
      Returns:
      the jobCount value.
    • withJobCount

      public RunbookInner withJobCount(Integer jobCount)
      Set the jobCount property: Gets or sets the job count of the runbook.
      Parameters:
      jobCount - the jobCount value to set.
      Returns:
      the RunbookInner object itself.
    • parameters

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

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

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

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

      public RunbookDraftInner draft()
      Get the draft property: Gets or sets the draft runbook properties.
      Returns:
      the draft value.
    • withDraft

      public RunbookInner withDraft(RunbookDraftInner draft)
      Set the draft property: Gets or sets the draft runbook properties.
      Parameters:
      draft - the draft value to set.
      Returns:
      the RunbookInner object itself.
    • provisioningState

      public RunbookProvisioningState provisioningState()
      Get the provisioningState property: Gets or sets the provisioning state of the runbook.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public RunbookInner withProvisioningState(RunbookProvisioningState provisioningState)
      Set the provisioningState property: Gets or sets the provisioning state of the runbook.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the RunbookInner object itself.
    • lastModifiedBy

      public String lastModifiedBy()
      Get the lastModifiedBy property: Gets or sets the last modified by.
      Returns:
      the lastModifiedBy value.
    • withLastModifiedBy

      public RunbookInner withLastModifiedBy(String lastModifiedBy)
      Set the lastModifiedBy property: Gets or sets the last modified by.
      Parameters:
      lastModifiedBy - the lastModifiedBy value to set.
      Returns:
      the RunbookInner object itself.
    • creationTime

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

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

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

      public RunbookInner withLastModifiedTime(OffsetDateTime lastModifiedTime)
      Set the lastModifiedTime property: Gets or sets the last modified time.
      Parameters:
      lastModifiedTime - the lastModifiedTime value to set.
      Returns:
      the RunbookInner object itself.
    • description

      public String description()
      Get the description property: Gets or sets the description.
      Returns:
      the description value.
    • withDescription

      public RunbookInner withDescription(String description)
      Set the description property: Gets or sets the description.
      Parameters:
      description - the description value to set.
      Returns:
      the RunbookInner object itself.
    • validate

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