Class AzureDevOpsResourceInfo
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.AzureDevOpsResourceInfo
-
public final class AzureDevOpsResourceInfo extends Object
Resources created in Azure DevOps repository.
-
-
Constructor Summary
Constructors Constructor Description AzureDevOpsResourceInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
pipelineId()
Get the pipelineId property: Id of the pipeline created for the source-control.String
serviceConnectionId()
Get the serviceConnectionId property: Id of the service-connection created for the source-control.void
validate()
Validates the instance.AzureDevOpsResourceInfo
withPipelineId(String pipelineId)
Set the pipelineId property: Id of the pipeline created for the source-control.AzureDevOpsResourceInfo
withServiceConnectionId(String serviceConnectionId)
Set the serviceConnectionId property: Id of the service-connection created for the source-control.
-
-
-
Method Detail
-
pipelineId
public String pipelineId()
Get the pipelineId property: Id of the pipeline created for the source-control.- Returns:
- the pipelineId value.
-
withPipelineId
public AzureDevOpsResourceInfo withPipelineId(String pipelineId)
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
public String serviceConnectionId()
Get the serviceConnectionId property: Id of the service-connection created for the source-control.- Returns:
- the serviceConnectionId value.
-
withServiceConnectionId
public AzureDevOpsResourceInfo withServiceConnectionId(String serviceConnectionId)
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.
-
-