Class AzureDevOpsProjectMetadata
java.lang.Object
com.azure.resourcemanager.securitydevops.models.AzureDevOpsProjectMetadata
Project onboarding info.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureDevOpsProjectMetadata class. -
Method Summary
Modifier and TypeMethodDescriptionGet the autoDiscovery property: The autoDiscovery property.name()
Get the name property: Gets or sets name of the AzureDevOps Project.repos()
Get the repos property: Gets or sets repositories.void
validate()
Validates the instance.withAutoDiscovery
(AutoDiscovery autoDiscovery) Set the autoDiscovery property: The autoDiscovery property.Set the name property: Gets or sets name of the AzureDevOps Project.Set the repos property: Gets or sets repositories.
-
Constructor Details
-
AzureDevOpsProjectMetadata
public AzureDevOpsProjectMetadata()Creates an instance of AzureDevOpsProjectMetadata class.
-
-
Method Details
-
name
Get the name property: Gets or sets name of the AzureDevOps Project.- Returns:
- the name value.
-
withName
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
Get the autoDiscovery property: The autoDiscovery property.- Returns:
- the autoDiscovery value.
-
withAutoDiscovery
Set the autoDiscovery property: The autoDiscovery property.- Parameters:
autoDiscovery
- the autoDiscovery value to set.- Returns:
- the AzureDevOpsProjectMetadata object itself.
-
repos
Get the repos property: Gets or sets repositories.- Returns:
- the repos value.
-
withRepos
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.
-