GitPatternRepository Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. GitPatternRepository
- com.
Implements
public final class GitPatternRepository
implements JsonSerializable<GitPatternRepository>
Git repository property payload for config server.
Constructor Summary
Constructor | Description |
---|---|
GitPatternRepository() |
Creates an instance of Git |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
String |
hostKey()
Get the host |
String |
hostKeyAlgorithm()
Get the host |
String |
label()
Get the label property: Label of the repository. |
String |
name()
Get the name property: Name of the repository. |
String |
password()
Get the password property: Password of git repository basic auth. |
List<String> |
pattern()
Get the pattern property: Collection of pattern of the repository. |
String |
privateKey()
Get the private |
List<String> |
searchPaths()
Get the search |
Boolean |
strictHostKeyChecking()
Get the strict |
Json |
toJson(JsonWriter jsonWriter) |
String |
uri()
Get the uri property: URI of the repository. |
String |
username()
Get the username property: Username of git repository basic auth. |
void |
validate()
Validates the instance. |
Git |
withHostKey(String hostKey)
Set the host |
Git |
withHostKeyAlgorithm(String hostKeyAlgorithm)
Set the host |
Git |
withLabel(String label)
Set the label property: Label of the repository. |
Git |
withName(String name)
Set the name property: Name of the repository. |
Git |
withPassword(String password)
Set the password property: Password of git repository basic auth. |
Git |
withPattern(List<String> pattern)
Set the pattern property: Collection of pattern of the repository. |
Git |
withPrivateKey(String privateKey)
Set the private |
Git |
withSearchPaths(List<String> searchPaths)
Set the search |
Git |
withStrictHostKeyChecking(Boolean strictHostKeyChecking)
Set the strict |
Git |
withUri(String uri)
Set the uri property: URI of the repository. |
Git |
withUsername(String username)
Set the username property: Username of git repository basic auth. |
Methods inherited from java.lang.Object
Constructor Details
GitPatternRepository
public GitPatternRepository()
Creates an instance of GitPatternRepository class.
Method Details
fromJson
public static GitPatternRepository fromJson(JsonReader jsonReader)
Reads an instance of GitPatternRepository from the JsonReader.
Parameters:
Returns:
Throws:
hostKey
public String hostKey()
Get the hostKey property: Public sshKey of git repository.
Returns:
hostKeyAlgorithm
public String hostKeyAlgorithm()
Get the hostKeyAlgorithm property: SshKey algorithm of git repository.
Returns:
label
public String label()
Get the label property: Label of the repository.
Returns:
name
public String name()
Get the name property: Name of the repository.
Returns:
password
public String password()
Get the password property: Password of git repository basic auth.
Returns:
pattern
public List
Get the pattern property: Collection of pattern of the repository.
Returns:
privateKey
public String privateKey()
Get the privateKey property: Private sshKey algorithm of git repository.
Returns:
searchPaths
public List
Get the searchPaths property: Searching path of the repository.
Returns:
strictHostKeyChecking
public Boolean strictHostKeyChecking()
Get the strictHostKeyChecking property: Strict host key checking or not.
Returns:
toJson
uri
public String uri()
Get the uri property: URI of the repository.
Returns:
username
public String username()
Get the username property: Username of git repository basic auth.
Returns:
validate
public void validate()
Validates the instance.
withHostKey
public GitPatternRepository withHostKey(String hostKey)
Set the hostKey property: Public sshKey of git repository.
Parameters:
Returns:
withHostKeyAlgorithm
public GitPatternRepository withHostKeyAlgorithm(String hostKeyAlgorithm)
Set the hostKeyAlgorithm property: SshKey algorithm of git repository.
Parameters:
Returns:
withLabel
public GitPatternRepository withLabel(String label)
Set the label property: Label of the repository.
Parameters:
Returns:
withName
public GitPatternRepository withName(String name)
Set the name property: Name of the repository.
Parameters:
Returns:
withPassword
public GitPatternRepository withPassword(String password)
Set the password property: Password of git repository basic auth.
Parameters:
Returns:
withPattern
public GitPatternRepository withPattern(List
Set the pattern property: Collection of pattern of the repository.
Parameters:
Returns:
withPrivateKey
public GitPatternRepository withPrivateKey(String privateKey)
Set the privateKey property: Private sshKey algorithm of git repository.
Parameters:
Returns:
withSearchPaths
public GitPatternRepository withSearchPaths(List
Set the searchPaths property: Searching path of the repository.
Parameters:
Returns:
withStrictHostKeyChecking
public GitPatternRepository withStrictHostKeyChecking(Boolean strictHostKeyChecking)
Set the strictHostKeyChecking property: Strict host key checking or not.
Parameters:
Returns:
withUri
public GitPatternRepository withUri(String uri)
Set the uri property: URI of the repository.
Parameters:
Returns:
withUsername
public GitPatternRepository withUsername(String username)
Set the username property: Username of git repository basic auth.
Parameters:
Returns:
Applies to
Azure SDK for Java