Class DscCompilationJobInner

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

public final class DscCompilationJobInner extends com.azure.core.management.ProxyResource
Definition of the Dsc Compilation job.
  • Constructor Details

    • DscCompilationJobInner

      public DscCompilationJobInner()
  • Method Details

    • configuration

      public DscConfigurationAssociationProperty configuration()
      Get the configuration property: Gets or sets the configuration.
      Returns:
      the configuration value.
    • withConfiguration

      public DscCompilationJobInner withConfiguration(DscConfigurationAssociationProperty configuration)
      Set the configuration property: Gets or sets the configuration.
      Parameters:
      configuration - the configuration value to set.
      Returns:
      the DscCompilationJobInner object itself.
    • startedBy

      public String startedBy()
      Get the startedBy property: Gets the compilation job started by.
      Returns:
      the startedBy value.
    • jobId

      public UUID jobId()
      Get the jobId property: Gets the id of the job.
      Returns:
      the jobId value.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: Gets the creation time of the job.
      Returns:
      the creationTime value.
    • provisioningState

      public JobProvisioningState provisioningState()
      Get the provisioningState property: The current provisioning state of the job.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public DscCompilationJobInner withProvisioningState(JobProvisioningState provisioningState)
      Set the provisioningState property: The current provisioning state of the job.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the DscCompilationJobInner object itself.
    • runOn

      public String runOn()
      Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.
      Returns:
      the runOn value.
    • withRunOn

      public DscCompilationJobInner withRunOn(String runOn)
      Set the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.
      Parameters:
      runOn - the runOn value to set.
      Returns:
      the DscCompilationJobInner object itself.
    • status

      public JobStatus status()
      Get the status property: Gets or sets the status of the job.
      Returns:
      the status value.
    • withStatus

      public DscCompilationJobInner withStatus(JobStatus status)
      Set the status property: Gets or sets the status of the job.
      Parameters:
      status - the status value to set.
      Returns:
      the DscCompilationJobInner object itself.
    • statusDetails

      public String statusDetails()
      Get the statusDetails property: Gets or sets the status details of the job.
      Returns:
      the statusDetails value.
    • withStatusDetails

      public DscCompilationJobInner withStatusDetails(String statusDetails)
      Set the statusDetails property: Gets or sets the status details of the job.
      Parameters:
      statusDetails - the statusDetails value to set.
      Returns:
      the DscCompilationJobInner object itself.
    • startTime

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

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

      public String exception()
      Get the exception property: Gets the exception of the job.
      Returns:
      the exception value.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Gets the last modified time of the job.
      Returns:
      the lastModifiedTime value.
    • lastStatusModifiedTime

      public OffsetDateTime lastStatusModifiedTime()
      Get the lastStatusModifiedTime property: Gets the last status modified time of the job.
      Returns:
      the lastStatusModifiedTime value.
    • parameters

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

      public DscCompilationJobInner withParameters(Map<String,String> parameters)
      Set the parameters property: Gets or sets the parameters of the job.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the DscCompilationJobInner object itself.
    • validate

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