Class Repository
java.lang.Object
com.azure.resourcemanager.securityinsights.models.Repository
metadata of a repository.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbranch()
Get the branch property: Branch name of repository.Get the deploymentLogsUrl property: Url to access repository action logs.Get the displayUrl property: Display url of repository.Get the pathMapping property: Dictionary of source control content type and path mapping.url()
Get the url property: Url of repository.void
validate()
Validates the instance.withBranch
(String branch) Set the branch property: Branch name of repository.withDeploymentLogsUrl
(String deploymentLogsUrl) Set the deploymentLogsUrl property: Url to access repository action logs.withDisplayUrl
(String displayUrl) Set the displayUrl property: Display url of repository.withPathMapping
(List<ContentPathMap> pathMapping) Set the pathMapping property: Dictionary of source control content type and path mapping.Set the url property: Url of repository.
-
Constructor Details
-
Repository
public Repository()
-
-
Method Details
-
url
Get the url property: Url of repository.- Returns:
- the url value.
-
withUrl
Set the url property: Url of repository.- Parameters:
url
- the url value to set.- Returns:
- the Repository object itself.
-
branch
Get the branch property: Branch name of repository.- Returns:
- the branch value.
-
withBranch
Set the branch property: Branch name of repository.- Parameters:
branch
- the branch value to set.- Returns:
- the Repository object itself.
-
displayUrl
Get the displayUrl property: Display url of repository.- Returns:
- the displayUrl value.
-
withDisplayUrl
Set the displayUrl property: Display url of repository.- Parameters:
displayUrl
- the displayUrl value to set.- Returns:
- the Repository object itself.
-
deploymentLogsUrl
Get the deploymentLogsUrl property: Url to access repository action logs.- Returns:
- the deploymentLogsUrl value.
-
withDeploymentLogsUrl
Set the deploymentLogsUrl property: Url to access repository action logs.- Parameters:
deploymentLogsUrl
- the deploymentLogsUrl value to set.- Returns:
- the Repository object itself.
-
pathMapping
Get the pathMapping property: Dictionary of source control content type and path mapping.- Returns:
- the pathMapping value.
-
withPathMapping
Set the pathMapping property: Dictionary of source control content type and path mapping.- Parameters:
pathMapping
- the pathMapping value to set.- Returns:
- the Repository object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-