Class AzureDevOpsResourceInfo

java.lang.Object
com.azure.resourcemanager.securityinsights.models.AzureDevOpsResourceInfo

public final class AzureDevOpsResourceInfo extends Object
Resources created in Azure DevOps repository.
  • Constructor Details

    • AzureDevOpsResourceInfo

      public AzureDevOpsResourceInfo()
  • Method Details

    • 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.