Class SourceControlSyncJobCreateParameters

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

public final class SourceControlSyncJobCreateParameters extends Object
The parameters supplied to the create source control sync job operation.
  • Constructor Details

    • SourceControlSyncJobCreateParameters

      public SourceControlSyncJobCreateParameters()
  • Method Details

    • commitId

      public String commitId()
      Get the commitId property: The commit id of the source control sync job. If not syncing to a commitId, enter an empty string.
      Returns:
      the commitId value.
    • withCommitId

      public SourceControlSyncJobCreateParameters withCommitId(String commitId)
      Set the commitId property: The commit id of the source control sync job. If not syncing to a commitId, enter an empty string.
      Parameters:
      commitId - the commitId value to set.
      Returns:
      the SourceControlSyncJobCreateParameters object itself.
    • validate

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