Class AzureDevOpsRepoProperties
java.lang.Object
com.azure.resourcemanager.securitydevops.models.AzureDevOpsRepoProperties
AzureDevOps Repo properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureDevOpsRepoProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionableRemediation property: The actionableRemediation property.orgName()
Get the orgName property: Gets or sets AzureDevOps Org Name.Get the projectName property: Gets or sets AzureDevOps Project Name.Get the provisioningState property: The provisioningState property.repoId()
Get the repoId property: Gets or sets Azure DevOps repo id.repoUrl()
Get the repoUrl property: Gets or sets AzureDevOps repo url.void
validate()
Validates the instance.Get the visibility property: Gets or sets AzureDevOps repo visibility, whether it is public or private etc.withActionableRemediation
(ActionableRemediation actionableRemediation) Set the actionableRemediation property: The actionableRemediation property.withOrgName
(String orgName) Set the orgName property: Gets or sets AzureDevOps Org Name.withProjectName
(String projectName) Set the projectName property: Gets or sets AzureDevOps Project Name.withProvisioningState
(ProvisioningState provisioningState) Set the provisioningState property: The provisioningState property.withRepoId
(String repoId) Set the repoId property: Gets or sets Azure DevOps repo id.withRepoUrl
(String repoUrl) Set the repoUrl property: Gets or sets AzureDevOps repo url.withVisibility
(String visibility) Set the visibility property: Gets or sets AzureDevOps repo visibility, whether it is public or private etc.
-
Constructor Details
-
AzureDevOpsRepoProperties
public AzureDevOpsRepoProperties()Creates an instance of AzureDevOpsRepoProperties 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 AzureDevOpsRepoProperties object itself.
-
repoId
Get the repoId property: Gets or sets Azure DevOps repo id.- Returns:
- the repoId value.
-
withRepoId
Set the repoId property: Gets or sets Azure DevOps repo id.- Parameters:
repoId
- the repoId value to set.- Returns:
- the AzureDevOpsRepoProperties object itself.
-
repoUrl
Get the repoUrl property: Gets or sets AzureDevOps repo url.- Returns:
- the repoUrl value.
-
withRepoUrl
Set the repoUrl property: Gets or sets AzureDevOps repo url.- Parameters:
repoUrl
- the repoUrl value to set.- Returns:
- the AzureDevOpsRepoProperties object itself.
-
orgName
Get the orgName property: Gets or sets AzureDevOps Org Name.- Returns:
- the orgName value.
-
withOrgName
Set the orgName property: Gets or sets AzureDevOps Org Name.- Parameters:
orgName
- the orgName value to set.- Returns:
- the AzureDevOpsRepoProperties object itself.
-
projectName
Get the projectName property: Gets or sets AzureDevOps Project Name.- Returns:
- the projectName value.
-
withProjectName
Set the projectName property: Gets or sets AzureDevOps Project Name.- Parameters:
projectName
- the projectName value to set.- Returns:
- the AzureDevOpsRepoProperties object itself.
-
visibility
Get the visibility property: Gets or sets AzureDevOps repo visibility, whether it is public or private etc.- Returns:
- the visibility value.
-
withVisibility
Set the visibility property: Gets or sets AzureDevOps repo visibility, whether it is public or private etc.- Parameters:
visibility
- the visibility value to set.- Returns:
- the AzureDevOpsRepoProperties object itself.
-
actionableRemediation
Get the actionableRemediation property: The actionableRemediation property.- Returns:
- the actionableRemediation value.
-
withActionableRemediation
public AzureDevOpsRepoProperties withActionableRemediation(ActionableRemediation actionableRemediation) Set the actionableRemediation property: The actionableRemediation property.- Parameters:
actionableRemediation
- the actionableRemediation value to set.- Returns:
- the AzureDevOpsRepoProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-