Class DscNodeConfigurationCreateOrUpdateParameters

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

public final class DscNodeConfigurationCreateOrUpdateParameters extends Object
The parameters supplied to the create or update node configuration operation.
  • Constructor Details

    • DscNodeConfigurationCreateOrUpdateParameters

      public DscNodeConfigurationCreateOrUpdateParameters()
  • Method Details

    • name

      public String name()
      Get the name property: Name of the node configuration.
      Returns:
      the name value.
    • withName

      Set the name property: Name of the node configuration.
      Parameters:
      name - the name value to set.
      Returns:
      the DscNodeConfigurationCreateOrUpdateParameters object itself.
    • tags

      public Map<String,String> tags()
      Get the tags property: Gets or sets the tags attached to the resource.
      Returns:
      the tags value.
    • withTags

      Set the tags property: Gets or sets the tags attached to the resource.
      Parameters:
      tags - the tags value to set.
      Returns:
      the DscNodeConfigurationCreateOrUpdateParameters object itself.
    • source

      public ContentSource source()
      Get the source property: Gets or sets the source.
      Returns:
      the source value.
    • withSource

      Set the source property: Gets or sets the source.
      Parameters:
      source - the source value to set.
      Returns:
      the DscNodeConfigurationCreateOrUpdateParameters object itself.
    • configuration

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

      Set the configuration property: Gets or sets the configuration of the node.
      Parameters:
      configuration - the configuration value to set.
      Returns:
      the DscNodeConfigurationCreateOrUpdateParameters 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 DscNodeConfigurationCreateOrUpdateParameters 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 DscNodeConfigurationCreateOrUpdateParameters object itself.
    • validate

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