Class ConfigurationServiceGitRepository

java.lang.Object
com.azure.resourcemanager.appplatform.models.ConfigurationServiceGitRepository

public final class ConfigurationServiceGitRepository extends Object
Git repository property payload for Application Configuration Service.
  • Constructor Details

    • ConfigurationServiceGitRepository

      public ConfigurationServiceGitRepository()
      Creates an instance of ConfigurationServiceGitRepository class.
  • Method Details

    • name

      public String name()
      Get the name property: Name of the repository.
      Returns:
      the name value.
    • withName

      public ConfigurationServiceGitRepository withName(String name)
      Set the name property: Name of the repository.
      Parameters:
      name - the name value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • patterns

      public List<String> patterns()
      Get the patterns property: Collection of patterns of the repository.
      Returns:
      the patterns value.
    • withPatterns

      public ConfigurationServiceGitRepository withPatterns(List<String> patterns)
      Set the patterns property: Collection of patterns of the repository.
      Parameters:
      patterns - the patterns value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • uri

      public String uri()
      Get the uri property: URI of the repository.
      Returns:
      the uri value.
    • withUri

      Set the uri property: URI of the repository.
      Parameters:
      uri - the uri value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • label

      public String label()
      Get the label property: Label of the repository.
      Returns:
      the label value.
    • withLabel

      public ConfigurationServiceGitRepository withLabel(String label)
      Set the label property: Label of the repository.
      Parameters:
      label - the label value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • searchPaths

      public List<String> searchPaths()
      Get the searchPaths property: Searching path of the repository.
      Returns:
      the searchPaths value.
    • withSearchPaths

      public ConfigurationServiceGitRepository withSearchPaths(List<String> searchPaths)
      Set the searchPaths property: Searching path of the repository.
      Parameters:
      searchPaths - the searchPaths value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • username

      public String username()
      Get the username property: Username of git repository basic auth.
      Returns:
      the username value.
    • withUsername

      public ConfigurationServiceGitRepository withUsername(String username)
      Set the username property: Username of git repository basic auth.
      Parameters:
      username - the username value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • password

      public String password()
      Get the password property: Password of git repository basic auth.
      Returns:
      the password value.
    • withPassword

      public ConfigurationServiceGitRepository withPassword(String password)
      Set the password property: Password of git repository basic auth.
      Parameters:
      password - the password value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • hostKey

      public String hostKey()
      Get the hostKey property: Public sshKey of git repository.
      Returns:
      the hostKey value.
    • withHostKey

      public ConfigurationServiceGitRepository withHostKey(String hostKey)
      Set the hostKey property: Public sshKey of git repository.
      Parameters:
      hostKey - the hostKey value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • hostKeyAlgorithm

      public String hostKeyAlgorithm()
      Get the hostKeyAlgorithm property: SshKey algorithm of git repository.
      Returns:
      the hostKeyAlgorithm value.
    • withHostKeyAlgorithm

      public ConfigurationServiceGitRepository withHostKeyAlgorithm(String hostKeyAlgorithm)
      Set the hostKeyAlgorithm property: SshKey algorithm of git repository.
      Parameters:
      hostKeyAlgorithm - the hostKeyAlgorithm value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • privateKey

      public String privateKey()
      Get the privateKey property: Private sshKey algorithm of git repository.
      Returns:
      the privateKey value.
    • withPrivateKey

      public ConfigurationServiceGitRepository withPrivateKey(String privateKey)
      Set the privateKey property: Private sshKey algorithm of git repository.
      Parameters:
      privateKey - the privateKey value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • strictHostKeyChecking

      public Boolean strictHostKeyChecking()
      Get the strictHostKeyChecking property: Strict host key checking or not.
      Returns:
      the strictHostKeyChecking value.
    • withStrictHostKeyChecking

      public ConfigurationServiceGitRepository withStrictHostKeyChecking(Boolean strictHostKeyChecking)
      Set the strictHostKeyChecking property: Strict host key checking or not.
      Parameters:
      strictHostKeyChecking - the strictHostKeyChecking value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • gitImplementation

      public GitImplementation gitImplementation()
      Get the gitImplementation property: Git libraries used to support various repository providers.
      Returns:
      the gitImplementation value.
    • withGitImplementation

      public ConfigurationServiceGitRepository withGitImplementation(GitImplementation gitImplementation)
      Set the gitImplementation property: Git libraries used to support various repository providers.
      Parameters:
      gitImplementation - the gitImplementation value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • caCertResourceId

      public String caCertResourceId()
      Get the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.
      Returns:
      the caCertResourceId value.
    • withCaCertResourceId

      public ConfigurationServiceGitRepository withCaCertResourceId(String caCertResourceId)
      Set the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.
      Parameters:
      caCertResourceId - the caCertResourceId value to set.
      Returns:
      the ConfigurationServiceGitRepository object itself.
    • validate

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