Class GitPatternRepository
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.GitPatternRepository
-
public final class GitPatternRepository extends Object
Git repository property payload.
-
-
Constructor Summary
Constructors Constructor Description GitPatternRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringhostKey()Get the hostKey property: Public sshKey of git repository.StringhostKeyAlgorithm()Get the hostKeyAlgorithm property: SshKey algorithm of git repository.Stringlabel()Get the label property: Label of the repository.Stringname()Get the name property: Name of the repository.Stringpassword()Get the password property: Password of git repository basic auth.List<String>pattern()Get the pattern property: Collection of pattern of the repository.StringprivateKey()Get the privateKey property: Private sshKey algorithm of git repository.List<String>searchPaths()Get the searchPaths property: Searching path of the repository.BooleanstrictHostKeyChecking()Get the strictHostKeyChecking property: Strict host key checking or not.Stringuri()Get the uri property: URI of the repository.Stringusername()Get the username property: Username of git repository basic auth.voidvalidate()Validates the instance.GitPatternRepositorywithHostKey(String hostKey)Set the hostKey property: Public sshKey of git repository.GitPatternRepositorywithHostKeyAlgorithm(String hostKeyAlgorithm)Set the hostKeyAlgorithm property: SshKey algorithm of git repository.GitPatternRepositorywithLabel(String label)Set the label property: Label of the repository.GitPatternRepositorywithName(String name)Set the name property: Name of the repository.GitPatternRepositorywithPassword(String password)Set the password property: Password of git repository basic auth.GitPatternRepositorywithPattern(List<String> pattern)Set the pattern property: Collection of pattern of the repository.GitPatternRepositorywithPrivateKey(String privateKey)Set the privateKey property: Private sshKey algorithm of git repository.GitPatternRepositorywithSearchPaths(List<String> searchPaths)Set the searchPaths property: Searching path of the repository.GitPatternRepositorywithStrictHostKeyChecking(Boolean strictHostKeyChecking)Set the strictHostKeyChecking property: Strict host key checking or not.GitPatternRepositorywithUri(String uri)Set the uri property: URI of the repository.GitPatternRepositorywithUsername(String username)Set the username property: Username of git repository basic auth.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the repository.- Returns:
- the name value.
-
withName
public GitPatternRepository withName(String name)
Set the name property: Name of the repository.- Parameters:
name- the name value to set.- Returns:
- the GitPatternRepository object itself.
-
pattern
public List<String> pattern()
Get the pattern property: Collection of pattern of the repository.- Returns:
- the pattern value.
-
withPattern
public GitPatternRepository withPattern(List<String> pattern)
Set the pattern property: Collection of pattern of the repository.- Parameters:
pattern- the pattern value to set.- Returns:
- the GitPatternRepository object itself.
-
uri
public String uri()
Get the uri property: URI of the repository.- Returns:
- the uri value.
-
withUri
public GitPatternRepository withUri(String uri)
Set the uri property: URI of the repository.- Parameters:
uri- the uri value to set.- Returns:
- the GitPatternRepository object itself.
-
label
public String label()
Get the label property: Label of the repository.- Returns:
- the label value.
-
withLabel
public GitPatternRepository withLabel(String label)
Set the label property: Label of the repository.- Parameters:
label- the label value to set.- Returns:
- the GitPatternRepository object itself.
-
searchPaths
public List<String> searchPaths()
Get the searchPaths property: Searching path of the repository.- Returns:
- the searchPaths value.
-
withSearchPaths
public GitPatternRepository withSearchPaths(List<String> searchPaths)
Set the searchPaths property: Searching path of the repository.- Parameters:
searchPaths- the searchPaths value to set.- Returns:
- the GitPatternRepository object itself.
-
username
public String username()
Get the username property: Username of git repository basic auth.- Returns:
- the username value.
-
withUsername
public GitPatternRepository withUsername(String username)
Set the username property: Username of git repository basic auth.- Parameters:
username- the username value to set.- Returns:
- the GitPatternRepository object itself.
-
password
public String password()
Get the password property: Password of git repository basic auth.- Returns:
- the password value.
-
withPassword
public GitPatternRepository withPassword(String password)
Set the password property: Password of git repository basic auth.- Parameters:
password- the password value to set.- Returns:
- the GitPatternRepository object itself.
-
hostKey
public String hostKey()
Get the hostKey property: Public sshKey of git repository.- Returns:
- the hostKey value.
-
withHostKey
public GitPatternRepository withHostKey(String hostKey)
Set the hostKey property: Public sshKey of git repository.- Parameters:
hostKey- the hostKey value to set.- Returns:
- the GitPatternRepository object itself.
-
hostKeyAlgorithm
public String hostKeyAlgorithm()
Get the hostKeyAlgorithm property: SshKey algorithm of git repository.- Returns:
- the hostKeyAlgorithm value.
-
withHostKeyAlgorithm
public GitPatternRepository withHostKeyAlgorithm(String hostKeyAlgorithm)
Set the hostKeyAlgorithm property: SshKey algorithm of git repository.- Parameters:
hostKeyAlgorithm- the hostKeyAlgorithm value to set.- Returns:
- the GitPatternRepository object itself.
-
privateKey
public String privateKey()
Get the privateKey property: Private sshKey algorithm of git repository.- Returns:
- the privateKey value.
-
withPrivateKey
public GitPatternRepository withPrivateKey(String privateKey)
Set the privateKey property: Private sshKey algorithm of git repository.- Parameters:
privateKey- the privateKey value to set.- Returns:
- the GitPatternRepository object itself.
-
strictHostKeyChecking
public Boolean strictHostKeyChecking()
Get the strictHostKeyChecking property: Strict host key checking or not.- Returns:
- the strictHostKeyChecking value.
-
withStrictHostKeyChecking
public GitPatternRepository withStrictHostKeyChecking(Boolean strictHostKeyChecking)
Set the strictHostKeyChecking property: Strict host key checking or not.- Parameters:
strictHostKeyChecking- the strictHostKeyChecking value to set.- Returns:
- the GitPatternRepository object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-