Class AzureDevOpsRepoProperties

java.lang.Object
com.azure.resourcemanager.securitydevops.models.AzureDevOpsRepoProperties

public final class AzureDevOpsRepoProperties extends Object
AzureDevOps Repo properties.
  • Constructor Details

    • AzureDevOpsRepoProperties

      public AzureDevOpsRepoProperties()
      Creates an instance of AzureDevOpsRepoProperties class.
  • Method Details

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioningState property.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public AzureDevOpsRepoProperties withProvisioningState(ProvisioningState provisioningState)
      Set the provisioningState property: The provisioningState property.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the AzureDevOpsRepoProperties object itself.
    • repoId

      public String repoId()
      Get the repoId property: Gets or sets Azure DevOps repo id.
      Returns:
      the repoId value.
    • withRepoId

      public AzureDevOpsRepoProperties withRepoId(String repoId)
      Set the repoId property: Gets or sets Azure DevOps repo id.
      Parameters:
      repoId - the repoId value to set.
      Returns:
      the AzureDevOpsRepoProperties object itself.
    • repoUrl

      public String repoUrl()
      Get the repoUrl property: Gets or sets AzureDevOps repo url.
      Returns:
      the repoUrl value.
    • withRepoUrl

      public AzureDevOpsRepoProperties withRepoUrl(String repoUrl)
      Set the repoUrl property: Gets or sets AzureDevOps repo url.
      Parameters:
      repoUrl - the repoUrl value to set.
      Returns:
      the AzureDevOpsRepoProperties object itself.
    • orgName

      public String orgName()
      Get the orgName property: Gets or sets AzureDevOps Org Name.
      Returns:
      the orgName value.
    • withOrgName

      public AzureDevOpsRepoProperties withOrgName(String orgName)
      Set the orgName property: Gets or sets AzureDevOps Org Name.
      Parameters:
      orgName - the orgName value to set.
      Returns:
      the AzureDevOpsRepoProperties object itself.
    • projectName

      public String projectName()
      Get the projectName property: Gets or sets AzureDevOps Project Name.
      Returns:
      the projectName value.
    • withProjectName

      public AzureDevOpsRepoProperties withProjectName(String projectName)
      Set the projectName property: Gets or sets AzureDevOps Project Name.
      Parameters:
      projectName - the projectName value to set.
      Returns:
      the AzureDevOpsRepoProperties object itself.
    • visibility

      public String visibility()
      Get the visibility property: Gets or sets AzureDevOps repo visibility, whether it is public or private etc.
      Returns:
      the visibility value.
    • withVisibility

      public AzureDevOpsRepoProperties withVisibility(String visibility)
      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

      public ActionableRemediation 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.