Class AzureDevOpsProjectMetadata

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

public final class AzureDevOpsProjectMetadata extends Object
Project onboarding info.
  • Constructor Details

    • AzureDevOpsProjectMetadata

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

    • name

      public String name()
      Get the name property: Gets or sets name of the AzureDevOps Project.
      Returns:
      the name value.
    • withName

      public AzureDevOpsProjectMetadata withName(String name)
      Set the name property: Gets or sets name of the AzureDevOps Project.
      Parameters:
      name - the name value to set.
      Returns:
      the AzureDevOpsProjectMetadata object itself.
    • autoDiscovery

      public AutoDiscovery autoDiscovery()
      Get the autoDiscovery property: The autoDiscovery property.
      Returns:
      the autoDiscovery value.
    • withAutoDiscovery

      public AzureDevOpsProjectMetadata withAutoDiscovery(AutoDiscovery autoDiscovery)
      Set the autoDiscovery property: The autoDiscovery property.
      Parameters:
      autoDiscovery - the autoDiscovery value to set.
      Returns:
      the AzureDevOpsProjectMetadata object itself.
    • repos

      public List<String> repos()
      Get the repos property: Gets or sets repositories.
      Returns:
      the repos value.
    • withRepos

      public AzureDevOpsProjectMetadata withRepos(List<String> repos)
      Set the repos property: Gets or sets repositories.
      Parameters:
      repos - the repos value to set.
      Returns:
      the AzureDevOpsProjectMetadata object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.