Class AzureDevOpsOrgMetadata
java.lang.Object
com.azure.resourcemanager.securitydevops.models.AzureDevOpsOrgMetadata
Org onboarding info.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureDevOpsOrgMetadata class. -
Method Summary
Modifier and TypeMethodDescriptionGet the autoDiscovery property: The autoDiscovery property.name()
Get the name property: Gets or sets name of the AzureDevOps Org.projects()
Get the projects property: The projects property.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 Org.withProjects
(List<AzureDevOpsProjectMetadata> projects) Set the projects property: The projects property.
-
Constructor Details
-
AzureDevOpsOrgMetadata
public AzureDevOpsOrgMetadata()Creates an instance of AzureDevOpsOrgMetadata class.
-
-
Method Details
-
name
Get the name property: Gets or sets name of the AzureDevOps Org.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets name of the AzureDevOps Org.- Parameters:
name
- the name value to set.- Returns:
- the AzureDevOpsOrgMetadata 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 AzureDevOpsOrgMetadata object itself.
-
projects
Get the projects property: The projects property.- Returns:
- the projects value.
-
withProjects
Set the projects property: The projects property.- Parameters:
projects
- the projects value to set.- Returns:
- the AzureDevOpsOrgMetadata object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-