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 Summary
ConstructorsConstructorDescriptionCreates an instance of DscCompilationJobCreateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: Gets or sets the configuration.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DscCompilationJobCreateProperties from the JsonReader.Get the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.Get the parameters property: Gets or sets the parameters of the job.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withConfiguration
(DscConfigurationAssociationProperty configuration) Set the configuration property: Gets or sets the configuration.withIncrementNodeConfigurationBuild
(Boolean incrementNodeConfigurationBuild) Set the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.withParameters
(Map<String, String> parameters) Set the parameters property: Gets or sets the parameters of the job.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DscCompilationJobCreateProperties
public DscCompilationJobCreateProperties()Creates an instance of DscCompilationJobCreateProperties class.
-
-
Method Details
-
configuration
Get the configuration property: Gets or sets the configuration.- Returns:
- the configuration value.
-
withConfiguration
public DscCompilationJobCreateProperties withConfiguration(DscConfigurationAssociationProperty configuration) Set the configuration property: Gets or sets the configuration.- Parameters:
configuration
- the configuration value to set.- Returns:
- the DscCompilationJobCreateProperties object itself.
-
parameters
Get the parameters property: Gets or sets the parameters of the job.- Returns:
- the parameters value.
-
withParameters
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
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
- Specified by:
toJson
in interfacecom.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.
-