Class DscNodeReportInner

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

public final class DscNodeReportInner extends Object
Definition of the dsc node report type.
  • Constructor Details

    • DscNodeReportInner

      public DscNodeReportInner()
  • Method Details

    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: Gets or sets the end time of the node report.
      Returns:
      the endTime value.
    • withEndTime

      public DscNodeReportInner withEndTime(OffsetDateTime endTime)
      Set the endTime property: Gets or sets the end time of the node report.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the DscNodeReportInner object itself.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Gets or sets the lastModifiedTime of the node report.
      Returns:
      the lastModifiedTime value.
    • withLastModifiedTime

      public DscNodeReportInner withLastModifiedTime(OffsetDateTime lastModifiedTime)
      Set the lastModifiedTime property: Gets or sets the lastModifiedTime of the node report.
      Parameters:
      lastModifiedTime - the lastModifiedTime value to set.
      Returns:
      the DscNodeReportInner object itself.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: Gets or sets the start time of the node report.
      Returns:
      the startTime value.
    • withStartTime

      public DscNodeReportInner withStartTime(OffsetDateTime startTime)
      Set the startTime property: Gets or sets the start time of the node report.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the DscNodeReportInner object itself.
    • type

      public String type()
      Get the type property: Gets or sets the type of the node report.
      Returns:
      the type value.
    • withType

      public DscNodeReportInner withType(String type)
      Set the type property: Gets or sets the type of the node report.
      Parameters:
      type - the type value to set.
      Returns:
      the DscNodeReportInner object itself.
    • reportId

      public String reportId()
      Get the reportId property: Gets or sets the id of the node report.
      Returns:
      the reportId value.
    • withReportId

      public DscNodeReportInner withReportId(String reportId)
      Set the reportId property: Gets or sets the id of the node report.
      Parameters:
      reportId - the reportId value to set.
      Returns:
      the DscNodeReportInner object itself.
    • status

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

      public DscNodeReportInner withStatus(String status)
      Set the status property: Gets or sets the status of the node report.
      Parameters:
      status - the status value to set.
      Returns:
      the DscNodeReportInner object itself.
    • refreshMode

      public String refreshMode()
      Get the refreshMode property: Gets or sets the refreshMode of the node report.
      Returns:
      the refreshMode value.
    • withRefreshMode

      public DscNodeReportInner withRefreshMode(String refreshMode)
      Set the refreshMode property: Gets or sets the refreshMode of the node report.
      Parameters:
      refreshMode - the refreshMode value to set.
      Returns:
      the DscNodeReportInner object itself.
    • rebootRequested

      public String rebootRequested()
      Get the rebootRequested property: Gets or sets the rebootRequested of the node report.
      Returns:
      the rebootRequested value.
    • withRebootRequested

      public DscNodeReportInner withRebootRequested(String rebootRequested)
      Set the rebootRequested property: Gets or sets the rebootRequested of the node report.
      Parameters:
      rebootRequested - the rebootRequested value to set.
      Returns:
      the DscNodeReportInner object itself.
    • reportFormatVersion

      public String reportFormatVersion()
      Get the reportFormatVersion property: Gets or sets the reportFormatVersion of the node report.
      Returns:
      the reportFormatVersion value.
    • withReportFormatVersion

      public DscNodeReportInner withReportFormatVersion(String reportFormatVersion)
      Set the reportFormatVersion property: Gets or sets the reportFormatVersion of the node report.
      Parameters:
      reportFormatVersion - the reportFormatVersion value to set.
      Returns:
      the DscNodeReportInner object itself.
    • configurationVersion

      public String configurationVersion()
      Get the configurationVersion property: Gets or sets the configurationVersion of the node report.
      Returns:
      the configurationVersion value.
    • withConfigurationVersion

      public DscNodeReportInner withConfigurationVersion(String configurationVersion)
      Set the configurationVersion property: Gets or sets the configurationVersion of the node report.
      Parameters:
      configurationVersion - the configurationVersion value to set.
      Returns:
      the DscNodeReportInner object itself.
    • id

      public String id()
      Get the id property: Gets or sets the id.
      Returns:
      the id value.
    • withId

      public DscNodeReportInner withId(String id)
      Set the id property: Gets or sets the id.
      Parameters:
      id - the id value to set.
      Returns:
      the DscNodeReportInner object itself.
    • errors

      public List<DscReportError> errors()
      Get the errors property: Gets or sets the errors for the node report.
      Returns:
      the errors value.
    • withErrors

      public DscNodeReportInner withErrors(List<DscReportError> errors)
      Set the errors property: Gets or sets the errors for the node report.
      Parameters:
      errors - the errors value to set.
      Returns:
      the DscNodeReportInner object itself.
    • resources

      public List<DscReportResource> resources()
      Get the resources property: Gets or sets the resource for the node report.
      Returns:
      the resources value.
    • withResources

      public DscNodeReportInner withResources(List<DscReportResource> resources)
      Set the resources property: Gets or sets the resource for the node report.
      Parameters:
      resources - the resources value to set.
      Returns:
      the DscNodeReportInner object itself.
    • metaConfiguration

      public DscMetaConfiguration metaConfiguration()
      Get the metaConfiguration property: Gets or sets the metaConfiguration of the node at the time of the report.
      Returns:
      the metaConfiguration value.
    • withMetaConfiguration

      public DscNodeReportInner withMetaConfiguration(DscMetaConfiguration metaConfiguration)
      Set the metaConfiguration property: Gets or sets the metaConfiguration of the node at the time of the report.
      Parameters:
      metaConfiguration - the metaConfiguration value to set.
      Returns:
      the DscNodeReportInner object itself.
    • hostname

      public String hostname()
      Get the hostname property: Gets or sets the hostname of the node that sent the report.
      Returns:
      the hostname value.
    • withHostname

      public DscNodeReportInner withHostname(String hostname)
      Set the hostname property: Gets or sets the hostname of the node that sent the report.
      Parameters:
      hostname - the hostname value to set.
      Returns:
      the DscNodeReportInner object itself.
    • iPV4Addresses

      public List<String> iPV4Addresses()
      Get the iPV4Addresses property: Gets or sets the IPv4 address of the node that sent the report.
      Returns:
      the iPV4Addresses value.
    • withIPV4Addresses

      public DscNodeReportInner withIPV4Addresses(List<String> iPV4Addresses)
      Set the iPV4Addresses property: Gets or sets the IPv4 address of the node that sent the report.
      Parameters:
      iPV4Addresses - the iPV4Addresses value to set.
      Returns:
      the DscNodeReportInner object itself.
    • iPV6Addresses

      public List<String> iPV6Addresses()
      Get the iPV6Addresses property: Gets or sets the IPv6 address of the node that sent the report.
      Returns:
      the iPV6Addresses value.
    • withIPV6Addresses

      public DscNodeReportInner withIPV6Addresses(List<String> iPV6Addresses)
      Set the iPV6Addresses property: Gets or sets the IPv6 address of the node that sent the report.
      Parameters:
      iPV6Addresses - the iPV6Addresses value to set.
      Returns:
      the DscNodeReportInner object itself.
    • numberOfResources

      public Integer numberOfResources()
      Get the numberOfResources property: Gets or sets the number of resource in the node report.
      Returns:
      the numberOfResources value.
    • withNumberOfResources

      public DscNodeReportInner withNumberOfResources(Integer numberOfResources)
      Set the numberOfResources property: Gets or sets the number of resource in the node report.
      Parameters:
      numberOfResources - the numberOfResources value to set.
      Returns:
      the DscNodeReportInner object itself.
    • rawErrors

      public String rawErrors()
      Get the rawErrors property: Gets or sets the unparsed errors for the node report.
      Returns:
      the rawErrors value.
    • withRawErrors

      public DscNodeReportInner withRawErrors(String rawErrors)
      Set the rawErrors property: Gets or sets the unparsed errors for the node report.
      Parameters:
      rawErrors - the rawErrors value to set.
      Returns:
      the DscNodeReportInner object itself.
    • validate

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