Class DscReportResource

java.lang.Object
com.azure.resourcemanager.automation.models.DscReportResource

public final class DscReportResource extends Object
Definition of the DSC Report Resource.
  • Constructor Details

    • DscReportResource

      public DscReportResource()
  • Method Details

    • resourceId

      public String resourceId()
      Get the resourceId property: Gets or sets the ID of the resource.
      Returns:
      the resourceId value.
    • withResourceId

      public DscReportResource withResourceId(String resourceId)
      Set the resourceId property: Gets or sets the ID of the resource.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the DscReportResource object itself.
    • sourceInfo

      public String sourceInfo()
      Get the sourceInfo property: Gets or sets the source info of the resource.
      Returns:
      the sourceInfo value.
    • withSourceInfo

      public DscReportResource withSourceInfo(String sourceInfo)
      Set the sourceInfo property: Gets or sets the source info of the resource.
      Parameters:
      sourceInfo - the sourceInfo value to set.
      Returns:
      the DscReportResource object itself.
    • dependsOn

      public List<DscReportResourceNavigation> dependsOn()
      Get the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.
      Returns:
      the dependsOn value.
    • withDependsOn

      public DscReportResource withDependsOn(List<DscReportResourceNavigation> dependsOn)
      Set the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the DscReportResource object itself.
    • moduleName

      public String moduleName()
      Get the moduleName property: Gets or sets the module name of the resource.
      Returns:
      the moduleName value.
    • withModuleName

      public DscReportResource withModuleName(String moduleName)
      Set the moduleName property: Gets or sets the module name of the resource.
      Parameters:
      moduleName - the moduleName value to set.
      Returns:
      the DscReportResource object itself.
    • moduleVersion

      public String moduleVersion()
      Get the moduleVersion property: Gets or sets the module version of the resource.
      Returns:
      the moduleVersion value.
    • withModuleVersion

      public DscReportResource withModuleVersion(String moduleVersion)
      Set the moduleVersion property: Gets or sets the module version of the resource.
      Parameters:
      moduleVersion - the moduleVersion value to set.
      Returns:
      the DscReportResource object itself.
    • resourceName

      public String resourceName()
      Get the resourceName property: Gets or sets the name of the resource.
      Returns:
      the resourceName value.
    • withResourceName

      public DscReportResource withResourceName(String resourceName)
      Set the resourceName property: Gets or sets the name of the resource.
      Parameters:
      resourceName - the resourceName value to set.
      Returns:
      the DscReportResource object itself.
    • error

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

      public DscReportResource withError(String error)
      Set the error property: Gets or sets the error of the resource.
      Parameters:
      error - the error value to set.
      Returns:
      the DscReportResource object itself.
    • status

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

      public DscReportResource withStatus(String status)
      Set the status property: Gets or sets the status of the resource.
      Parameters:
      status - the status value to set.
      Returns:
      the DscReportResource object itself.
    • durationInSeconds

      public Double durationInSeconds()
      Get the durationInSeconds property: Gets or sets the duration in seconds for the resource.
      Returns:
      the durationInSeconds value.
    • withDurationInSeconds

      public DscReportResource withDurationInSeconds(Double durationInSeconds)
      Set the durationInSeconds property: Gets or sets the duration in seconds for the resource.
      Parameters:
      durationInSeconds - the durationInSeconds value to set.
      Returns:
      the DscReportResource object itself.
    • startDate

      public OffsetDateTime startDate()
      Get the startDate property: Gets or sets the start date of the resource.
      Returns:
      the startDate value.
    • withStartDate

      public DscReportResource withStartDate(OffsetDateTime startDate)
      Set the startDate property: Gets or sets the start date of the resource.
      Parameters:
      startDate - the startDate value to set.
      Returns:
      the DscReportResource object itself.
    • validate

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