Class SourceControlUpdateProperties

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

public final class SourceControlUpdateProperties extends Object
The properties of the update source control.
  • Constructor Details

    • SourceControlUpdateProperties

      public SourceControlUpdateProperties()
  • Method Details

    • branch

      public String branch()
      Get the branch property: The repo branch of the source control.
      Returns:
      the branch value.
    • withBranch

      public SourceControlUpdateProperties withBranch(String branch)
      Set the branch property: The repo branch of the source control.
      Parameters:
      branch - the branch value to set.
      Returns:
      the SourceControlUpdateProperties object itself.
    • folderPath

      public String folderPath()
      Get the folderPath property: The folder path of the source control. Path must be relative.
      Returns:
      the folderPath value.
    • withFolderPath

      public SourceControlUpdateProperties withFolderPath(String folderPath)
      Set the folderPath property: The folder path of the source control. Path must be relative.
      Parameters:
      folderPath - the folderPath value to set.
      Returns:
      the SourceControlUpdateProperties object itself.
    • autoSync

      public Boolean autoSync()
      Get the autoSync property: The auto sync of the source control. Default is false.
      Returns:
      the autoSync value.
    • withAutoSync

      public SourceControlUpdateProperties withAutoSync(Boolean autoSync)
      Set the autoSync property: The auto sync of the source control. Default is false.
      Parameters:
      autoSync - the autoSync value to set.
      Returns:
      the SourceControlUpdateProperties object itself.
    • publishRunbook

      public Boolean publishRunbook()
      Get the publishRunbook property: The auto publish of the source control. Default is true.
      Returns:
      the publishRunbook value.
    • withPublishRunbook

      public SourceControlUpdateProperties withPublishRunbook(Boolean publishRunbook)
      Set the publishRunbook property: The auto publish of the source control. Default is true.
      Parameters:
      publishRunbook - the publishRunbook value to set.
      Returns:
      the SourceControlUpdateProperties object itself.
    • securityToken

      public SourceControlSecurityTokenProperties securityToken()
      Get the securityToken property: The authorization token for the repo of the source control.
      Returns:
      the securityToken value.
    • withSecurityToken

      public SourceControlUpdateProperties withSecurityToken(SourceControlSecurityTokenProperties securityToken)
      Set the securityToken property: The authorization token for the repo of the source control.
      Parameters:
      securityToken - the securityToken value to set.
      Returns:
      the SourceControlUpdateProperties object itself.
    • description

      public String description()
      Get the description property: The user description of the source control.
      Returns:
      the description value.
    • withDescription

      public SourceControlUpdateProperties withDescription(String description)
      Set the description property: The user description of the source control.
      Parameters:
      description - the description value to set.
      Returns:
      the SourceControlUpdateProperties object itself.
    • validate

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