Class AzureDevOpsResourceInfo
java.lang.Object
com.azure.resourcemanager.securityinsights.models.AzureDevOpsResourceInfo
Resources created in Azure DevOps repository.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the pipelineId property: Id of the pipeline created for the source-control.Get the serviceConnectionId property: Id of the service-connection created for the source-control.void
validate()
Validates the instance.withPipelineId
(String pipelineId) Set the pipelineId property: Id of the pipeline created for the source-control.withServiceConnectionId
(String serviceConnectionId) Set the serviceConnectionId property: Id of the service-connection created for the source-control.
-
Constructor Details
-
AzureDevOpsResourceInfo
public AzureDevOpsResourceInfo()
-
-
Method Details
-
pipelineId
Get the pipelineId property: Id of the pipeline created for the source-control.- Returns:
- the pipelineId value.
-
withPipelineId
Set the pipelineId property: Id of the pipeline created for the source-control.- Parameters:
pipelineId
- the pipelineId value to set.- Returns:
- the AzureDevOpsResourceInfo object itself.
-
serviceConnectionId
Get the serviceConnectionId property: Id of the service-connection created for the source-control.- Returns:
- the serviceConnectionId value.
-
withServiceConnectionId
Set the serviceConnectionId property: Id of the service-connection created for the source-control.- Parameters:
serviceConnectionId
- the serviceConnectionId value to set.- Returns:
- the AzureDevOpsResourceInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-