Class DscCompilationJobProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.DscCompilationJobProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DscCompilationJobProperties>
public final class DscCompilationJobProperties
extends Object
implements com.azure.json.JsonSerializable<DscCompilationJobProperties>
Definition of Dsc Compilation job properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DscCompilationJobProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: Gets or sets the configuration.Get the creationTime property: Gets the creation time of the job.endTime()
Get the endTime property: Gets the end time of the job.Get the exception property: Gets the exception of the job.static DscCompilationJobProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DscCompilationJobProperties from the JsonReader.jobId()
Get the jobId property: Gets the id of the job.Get the lastModifiedTime property: Gets the last modified time of the job.Get the lastStatusModifiedTime property: Gets the last status modified time of the job.Get the parameters property: Gets or sets the parameters of the job.Get the provisioningState property: The current provisioning state of the job.runOn()
Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.Get the startedBy property: Gets the compilation job started by.Get the startTime property: Gets the start time of the job.status()
Get the status property: Gets or sets the status of the job.Get the statusDetails property: Gets or sets the status details 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.withParameters
(Map<String, String> parameters) Set the parameters property: Gets or sets the parameters of the job.withProvisioningState
(JobProvisioningState provisioningState) Set the provisioningState property: The current provisioning state of the job.Set the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.withStatus
(JobStatus status) Set the status property: Gets or sets the status of the job.withStatusDetails
(String statusDetails) Set the statusDetails property: Gets or sets the status details 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
-
DscCompilationJobProperties
public DscCompilationJobProperties()Creates an instance of DscCompilationJobProperties class.
-
-
Method Details
-
configuration
Get the configuration property: Gets or sets the configuration.- Returns:
- the configuration value.
-
withConfiguration
public DscCompilationJobProperties withConfiguration(DscConfigurationAssociationProperty configuration) Set the configuration property: Gets or sets the configuration.- Parameters:
configuration
- the configuration value to set.- Returns:
- the DscCompilationJobProperties object itself.
-
startedBy
Get the startedBy property: Gets the compilation job started by.- Returns:
- the startedBy value.
-
jobId
Get the jobId property: Gets the id of the job.- Returns:
- the jobId value.
-
creationTime
Get the creationTime property: Gets the creation time of the job.- Returns:
- the creationTime value.
-
provisioningState
Get the provisioningState property: The current provisioning state of the job.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: The current provisioning state of the job.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the DscCompilationJobProperties object itself.
-
runOn
Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.- Returns:
- the runOn value.
-
withRunOn
Set the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.- Parameters:
runOn
- the runOn value to set.- Returns:
- the DscCompilationJobProperties object itself.
-
status
Get the status property: Gets or sets the status of the job.- Returns:
- the status value.
-
withStatus
Set the status property: Gets or sets the status of the job.- Parameters:
status
- the status value to set.- Returns:
- the DscCompilationJobProperties object itself.
-
statusDetails
Get the statusDetails property: Gets or sets the status details of the job.- Returns:
- the statusDetails value.
-
withStatusDetails
Set the statusDetails property: Gets or sets the status details of the job.- Parameters:
statusDetails
- the statusDetails value to set.- Returns:
- the DscCompilationJobProperties object itself.
-
startTime
Get the startTime property: Gets the start time of the job.- Returns:
- the startTime value.
-
endTime
Get the endTime property: Gets the end time of the job.- Returns:
- the endTime value.
-
exception
Get the exception property: Gets the exception of the job.- Returns:
- the exception value.
-
lastModifiedTime
Get the lastModifiedTime property: Gets the last modified time of the job.- Returns:
- the lastModifiedTime value.
-
lastStatusModifiedTime
Get the lastStatusModifiedTime property: Gets the last status modified time of the job.- Returns:
- the lastStatusModifiedTime value.
-
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 DscCompilationJobProperties 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<DscCompilationJobProperties>
- Throws:
IOException
-
fromJson
public static DscCompilationJobProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DscCompilationJobProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DscCompilationJobProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the DscCompilationJobProperties.
-