Class DscCompilationJobCreateProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.DscCompilationJobCreateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<DscCompilationJobCreateProperties>

public final class DscCompilationJobCreateProperties extends Object implements com.azure.json.JsonSerializable<DscCompilationJobCreateProperties>
The parameters supplied to the create compilation job operation.
  • Constructor Details

    • DscCompilationJobCreateProperties

      public DscCompilationJobCreateProperties()
      Creates an instance of DscCompilationJobCreateProperties class.
  • Method Details

    • configuration

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

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

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

      public DscCompilationJobCreateProperties 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 DscCompilationJobCreateProperties 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 DscCompilationJobCreateProperties 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 DscCompilationJobCreateProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DscCompilationJobCreateProperties>
      Throws:
      IOException
    • fromJson

      public static DscCompilationJobCreateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DscCompilationJobCreateProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DscCompilationJobCreateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the DscCompilationJobCreateProperties.