ConfigServerGitProperty Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ConfigServerGitProperty
- com.
Implements
public final class ConfigServerGitProperty
implements JsonSerializable<ConfigServerGitProperty>
Property of git.
Constructor Summary
Constructor | Description |
---|---|
ConfigServerGitProperty() |
Creates an instance of Config |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Config |
fromJson(JsonReader jsonReader)
Reads an instance of Config |
String |
hostKey()
Get the host |
String |
hostKeyAlgorithm()
Get the host |
String |
label()
Get the label property: Label of the repository. |
String |
password()
Get the password property: Password of git repository basic auth. |
String |
privateKey()
Get the private |
List<Git |
repositories()
Get the repositories property: Repositories of git. |
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. |
Config |
withHostKey(String hostKey)
Set the host |
Config |
withHostKeyAlgorithm(String hostKeyAlgorithm)
Set the host |
Config |
withLabel(String label)
Set the label property: Label of the repository. |
Config |
withPassword(String password)
Set the password property: Password of git repository basic auth. |
Config |
withPrivateKey(String privateKey)
Set the private |
Config |
withRepositories(List<GitPatternRepository> repositories)
Set the repositories property: Repositories of git. |
Config |
withSearchPaths(List<String> searchPaths)
Set the search |
Config |
withStrictHostKeyChecking(Boolean strictHostKeyChecking)
Set the strict |
Config |
withUri(String uri)
Set the uri property: URI of the repository. |
Config |
withUsername(String username)
Set the username property: Username of git repository basic auth. |
Methods inherited from java.lang.Object
Constructor Details
ConfigServerGitProperty
public ConfigServerGitProperty()
Creates an instance of ConfigServerGitProperty class.
Method Details
fromJson
public static ConfigServerGitProperty fromJson(JsonReader jsonReader)
Reads an instance of ConfigServerGitProperty 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:
password
public String password()
Get the password property: Password of git repository basic auth.
Returns:
privateKey
public String privateKey()
Get the privateKey property: Private sshKey algorithm of git repository.
Returns:
repositories
public List
Get the repositories property: Repositories of git.
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 ConfigServerGitProperty withHostKey(String hostKey)
Set the hostKey property: Public sshKey of git repository.
Parameters:
Returns:
withHostKeyAlgorithm
public ConfigServerGitProperty withHostKeyAlgorithm(String hostKeyAlgorithm)
Set the hostKeyAlgorithm property: SshKey algorithm of git repository.
Parameters:
Returns:
withLabel
public ConfigServerGitProperty withLabel(String label)
Set the label property: Label of the repository.
Parameters:
Returns:
withPassword
public ConfigServerGitProperty withPassword(String password)
Set the password property: Password of git repository basic auth.
Parameters:
Returns:
withPrivateKey
public ConfigServerGitProperty withPrivateKey(String privateKey)
Set the privateKey property: Private sshKey algorithm of git repository.
Parameters:
Returns:
withRepositories
public ConfigServerGitProperty withRepositories(List
Set the repositories property: Repositories of git.
Parameters:
Returns:
withSearchPaths
public ConfigServerGitProperty withSearchPaths(List
Set the searchPaths property: Searching path of the repository.
Parameters:
Returns:
withStrictHostKeyChecking
public ConfigServerGitProperty withStrictHostKeyChecking(Boolean strictHostKeyChecking)
Set the strictHostKeyChecking property: Strict host key checking or not.
Parameters:
Returns:
withUri
public ConfigServerGitProperty withUri(String uri)
Set the uri property: URI of the repository.
Parameters:
Returns:
withUsername
public ConfigServerGitProperty withUsername(String username)
Set the username property: Username of git repository basic auth.
Parameters:
Returns:
Applies to
Azure SDK for Java