Class SourceControlSyncJobByIdProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.SourceControlSyncJobByIdProperties
Definition of source control sync job properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: The creation time of the job.endTime()
Get the endTime property: The end time of the job.Get the exception property: The exceptions that occurred while running the sync job.Get the provisioningState property: The provisioning state of the job.Get the sourceControlSyncJobId property: The source control sync job id.Get the startTime property: The start time of the job.syncType()
Get the syncType property: The sync type.void
validate()
Validates the instance.withException
(String exception) Set the exception property: The exceptions that occurred while running the sync job.withProvisioningState
(ProvisioningState provisioningState) Set the provisioningState property: The provisioning state of the job.withSourceControlSyncJobId
(String sourceControlSyncJobId) Set the sourceControlSyncJobId property: The source control sync job id.withSyncType
(SyncType syncType) Set the syncType property: The sync type.
-
Constructor Details
-
SourceControlSyncJobByIdProperties
public SourceControlSyncJobByIdProperties()
-
-
Method Details
-
sourceControlSyncJobId
Get the sourceControlSyncJobId property: The source control sync job id.- Returns:
- the sourceControlSyncJobId value.
-
withSourceControlSyncJobId
Set the sourceControlSyncJobId property: The source control sync job id.- Parameters:
sourceControlSyncJobId
- the sourceControlSyncJobId value to set.- Returns:
- the SourceControlSyncJobByIdProperties object itself.
-
creationTime
Get the creationTime property: The creation time of the job.- Returns:
- the creationTime value.
-
provisioningState
Get the provisioningState property: The provisioning state of the job.- Returns:
- the provisioningState value.
-
withProvisioningState
public SourceControlSyncJobByIdProperties withProvisioningState(ProvisioningState provisioningState) Set the provisioningState property: The provisioning state of the job.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the SourceControlSyncJobByIdProperties object itself.
-
startTime
Get the startTime property: The start time of the job.- Returns:
- the startTime value.
-
endTime
Get the endTime property: The end time of the job.- Returns:
- the endTime value.
-
syncType
Get the syncType property: The sync type.- Returns:
- the syncType value.
-
withSyncType
Set the syncType property: The sync type.- Parameters:
syncType
- the syncType value to set.- Returns:
- the SourceControlSyncJobByIdProperties object itself.
-
exception
Get the exception property: The exceptions that occurred while running the sync job.- Returns:
- the exception value.
-
withException
Set the exception property: The exceptions that occurred while running the sync job.- Parameters:
exception
- the exception value to set.- Returns:
- the SourceControlSyncJobByIdProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-