Class GitHubRepoProperties
java.lang.Object
com.azure.resourcemanager.securitydevops.models.GitHubRepoProperties
GitHub Repo properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accountId property: Gets or sets gitHub repo account id.Get the ownerName property: Gets or sets GitHub Owner Name.Get the provisioningState property: The provisioningState property.repoUrl()
Get the repoUrl property: Gets or sets gitHub repo url.void
validate()
Validates the instance.withAccountId
(Long accountId) Set the accountId property: Gets or sets gitHub repo account id.withOwnerName
(String ownerName) Set the ownerName property: Gets or sets GitHub Owner Name.withProvisioningState
(ProvisioningState provisioningState) Set the provisioningState property: The provisioningState property.withRepoUrl
(String repoUrl) Set the repoUrl property: Gets or sets gitHub repo url.
-
Constructor Details
-
GitHubRepoProperties
public GitHubRepoProperties()Creates an instance of GitHubRepoProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: The provisioningState property.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the GitHubRepoProperties object itself.
-
accountId
Get the accountId property: Gets or sets gitHub repo account id.- Returns:
- the accountId value.
-
withAccountId
Set the accountId property: Gets or sets gitHub repo account id.- Parameters:
accountId
- the accountId value to set.- Returns:
- the GitHubRepoProperties object itself.
-
repoUrl
Get the repoUrl property: Gets or sets gitHub repo url.- Returns:
- the repoUrl value.
-
withRepoUrl
Set the repoUrl property: Gets or sets gitHub repo url.- Parameters:
repoUrl
- the repoUrl value to set.- Returns:
- the GitHubRepoProperties object itself.
-
ownerName
Get the ownerName property: Gets or sets GitHub Owner Name.- Returns:
- the ownerName value.
-
withOwnerName
Set the ownerName property: Gets or sets GitHub Owner Name.- Parameters:
ownerName
- the ownerName value to set.- Returns:
- the GitHubRepoProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-