Class SourceControlSyncJobInner

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.SourceControlSyncJobInner

public final class SourceControlSyncJobInner extends Object
Definition of the source control sync job.
  • Constructor Details

    • SourceControlSyncJobInner

      public SourceControlSyncJobInner()
  • Method Details

    • name

      public String name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • id

      public String id()
      Get the id property: Resource id.
      Returns:
      the id value.
    • sourceControlSyncJobId

      public String sourceControlSyncJobId()
      Get the sourceControlSyncJobId property: The source control sync job id.
      Returns:
      the sourceControlSyncJobId value.
    • withSourceControlSyncJobId

      public SourceControlSyncJobInner withSourceControlSyncJobId(String sourceControlSyncJobId)
      Set the sourceControlSyncJobId property: The source control sync job id.
      Parameters:
      sourceControlSyncJobId - the sourceControlSyncJobId value to set.
      Returns:
      the SourceControlSyncJobInner object itself.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: The creation time of the job.
      Returns:
      the creationTime value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the job.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public SourceControlSyncJobInner withProvisioningState(ProvisioningState provisioningState)
      Set the provisioningState property: The provisioning state of the job.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the SourceControlSyncJobInner object itself.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: The start time of the job.
      Returns:
      the startTime value.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: The end time of the job.
      Returns:
      the endTime value.
    • syncType

      public SyncType syncType()
      Get the syncType property: The sync type.
      Returns:
      the syncType value.
    • withSyncType

      public SourceControlSyncJobInner withSyncType(SyncType syncType)
      Set the syncType property: The sync type.
      Parameters:
      syncType - the syncType value to set.
      Returns:
      the SourceControlSyncJobInner object itself.
    • validate

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