Class DscNodeConfigurationInner

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

public final class DscNodeConfigurationInner extends com.azure.core.management.ProxyResource
Definition of the dsc node configuration.
  • Constructor Details

    • DscNodeConfigurationInner

      public DscNodeConfigurationInner()
  • Method Details

    • lastModifiedTime

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

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

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

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

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

      public DscNodeConfigurationInner withConfiguration(DscConfigurationAssociationProperty configuration)
      Set the configuration property: Gets or sets the configuration of the node.
      Parameters:
      configuration - the configuration value to set.
      Returns:
      the DscNodeConfigurationInner object itself.
    • source

      public String source()
      Get the source property: Source of node configuration.
      Returns:
      the source value.
    • withSource

      public DscNodeConfigurationInner withSource(String source)
      Set the source property: Source of node configuration.
      Parameters:
      source - the source value to set.
      Returns:
      the DscNodeConfigurationInner object itself.
    • nodeCount

      public Long nodeCount()
      Get the nodeCount property: Number of nodes with this node configuration assigned.
      Returns:
      the nodeCount value.
    • withNodeCount

      public DscNodeConfigurationInner withNodeCount(Long nodeCount)
      Set the nodeCount property: Number of nodes with this node configuration assigned.
      Parameters:
      nodeCount - the nodeCount value to set.
      Returns:
      the DscNodeConfigurationInner object itself.
    • incrementNodeConfigurationBuild

      public Boolean incrementNodeConfigurationBuild()
      Get the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.
      Returns:
      the incrementNodeConfigurationBuild value.
    • withIncrementNodeConfigurationBuild

      public DscNodeConfigurationInner withIncrementNodeConfigurationBuild(Boolean incrementNodeConfigurationBuild)
      Set the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.
      Parameters:
      incrementNodeConfigurationBuild - the incrementNodeConfigurationBuild value to set.
      Returns:
      the DscNodeConfigurationInner object itself.
    • validate

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