Class RepositoryResourceInfo
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.RepositoryResourceInfo
-
public final class RepositoryResourceInfo extends Object
Resources created in user's repository for the source-control.
-
-
Constructor Summary
Constructors Constructor Description RepositoryResourceInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureDevOpsResourceInfo
azureDevOpsResourceInfo()
Get the azureDevOpsResourceInfo property: Resources created in Azure DevOps for this source-control.GitHubResourceInfo
gitHubResourceInfo()
Get the gitHubResourceInfo property: Resources created in GitHub for this source-control.void
validate()
Validates the instance.Webhook
webhook()
Get the webhook property: The webhook object created for the source-control.RepositoryResourceInfo
withAzureDevOpsResourceInfo(AzureDevOpsResourceInfo azureDevOpsResourceInfo)
Set the azureDevOpsResourceInfo property: Resources created in Azure DevOps for this source-control.RepositoryResourceInfo
withGitHubResourceInfo(GitHubResourceInfo gitHubResourceInfo)
Set the gitHubResourceInfo property: Resources created in GitHub for this source-control.RepositoryResourceInfo
withWebhook(Webhook webhook)
Set the webhook property: The webhook object created for the source-control.
-
-
-
Method Detail
-
webhook
public Webhook webhook()
Get the webhook property: The webhook object created for the source-control.- Returns:
- the webhook value.
-
withWebhook
public RepositoryResourceInfo withWebhook(Webhook webhook)
Set the webhook property: The webhook object created for the source-control.- Parameters:
webhook
- the webhook value to set.- Returns:
- the RepositoryResourceInfo object itself.
-
gitHubResourceInfo
public GitHubResourceInfo gitHubResourceInfo()
Get the gitHubResourceInfo property: Resources created in GitHub for this source-control.- Returns:
- the gitHubResourceInfo value.
-
withGitHubResourceInfo
public RepositoryResourceInfo withGitHubResourceInfo(GitHubResourceInfo gitHubResourceInfo)
Set the gitHubResourceInfo property: Resources created in GitHub for this source-control.- Parameters:
gitHubResourceInfo
- the gitHubResourceInfo value to set.- Returns:
- the RepositoryResourceInfo object itself.
-
azureDevOpsResourceInfo
public AzureDevOpsResourceInfo azureDevOpsResourceInfo()
Get the azureDevOpsResourceInfo property: Resources created in Azure DevOps for this source-control.- Returns:
- the azureDevOpsResourceInfo value.
-
withAzureDevOpsResourceInfo
public RepositoryResourceInfo withAzureDevOpsResourceInfo(AzureDevOpsResourceInfo azureDevOpsResourceInfo)
Set the azureDevOpsResourceInfo property: Resources created in Azure DevOps for this source-control.- Parameters:
azureDevOpsResourceInfo
- the azureDevOpsResourceInfo value to set.- Returns:
- the RepositoryResourceInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-